SheafSystem  0.0.0.0
constant_eval_family.h
1 
2 //
3 // Copyright (c) 2014 Limit Point Systems, Inc.
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 
18 // Interface for class constant_eval_family
19 
20 #ifndef CONSTANT_EVAL_FAMILY_H
21 #define CONSTANT_EVAL_FAMILY_H
22 
23 #ifndef SHEAF_DLL_SPEC_H
24 #include "SheafSystem/sheaf_dll_spec.h"
25 #endif
26 
27 #ifndef EVAL_FAMILY
28 #include "SheafSystem/eval_family.h"
29 #endif
30 
31 namespace fiber_bundle
32 {
33 
38 class SHEAF_DLL_SPEC constant_eval_family : public eval_family
39 {
40 
41  friend class eval_family;
42 
43 public:
44 
45  // CANONICAL MEMBERS
46 
52 
58  virtual constant_eval_family* clone() const;
59 
63  virtual ~constant_eval_family();
64 
68  virtual bool invariant() const;
69 
73  virtual bool is_ancestor_of(const any* xother) const;
74 
75  // CONSTANT_EVAL_FAMILY FACET
76 
81  constant_eval_family(const namespace_poset& xname_space);
82 
86  virtual const std::string& class_name() const;
87 
91  static const std::string& static_class_name();
92 
96  virtual void initialize(const namespace_poset& xname_space);
97 
102  virtual bool dofs_are_values() const;
103 
108  virtual bool extrema_are_dofs() const;
109 
110 private:
111 
117 
118 };
119 
120 } // namespace fiber_bundle
121 
122 #endif // ifndef CONSTANT_EVAL_FAMILY_H
123 
124 
125 
126 
127 
128 
The default name space; a poset which contains other posets as members.
Abstract base class with useful features for all objects.
Definition: any.h:39
A family of compatible section evaluators, one for each member of some family of cell types; a map fr...
Definition: eval_family.h:67
A family of section evaluators containing members for constant functions on primitive cells...
Namespace for the fiber_bundles component of the sheaf system.