FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
driver_base.hpp
1// FEAT3: Finite Element Analysis Toolbox, Version 3
2// Copyright (C) 2010 by Stefan Turek & the FEAT group
3// FEAT3 is released under the GNU General Public License version 3,
4// see the file 'copyright.txt' in the top level directory for details.
5
6#pragma once
7
8// includes, FEAT
9#include <kernel/cubature/rule.hpp>
10
11namespace FEAT
12{
13 namespace Cubature
14 {
15 template<typename Shape_>
17 {
18 public:
19 template<typename Functor_>
20 static void alias(Functor_&)
21 {
22 // do nothing
23 }
24 };
25
27 namespace Intern
28 {
29 template<typename Shape_>
30 class DummyDriver :
31 public DriverBase<Shape_>
32 {
33 public:
34 static constexpr bool variadic = false;
35 static constexpr int num_points = 0;
36
37 static String name()
38 {
39 return "dummy";
40 }
41
42 template<typename Functor_>
43 static void alias(Functor_& functor)
44 {
45 functor.alias("dummy-alias");
46 }
47
48 template<
49 typename Weight_,
50 typename Coord_,
51 typename Point_>
52 static void fill(Rule<Shape_, Weight_, Coord_, Point_>&)
53 {
54 }
55 };
56 } // namespace Intern
58 } // namespace Cubature
59} // namespace FEAT
String class implementation.
Definition: string.hpp:46
FEAT namespace.
Definition: adjactor.hpp:12