SheafSystem  0.0.0.0
edge_centered_refiner_family.h
Go to the documentation of this file.
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 
20 
21 #ifndef EDGE_CENTERED_REFINER_FAMILY_H
22 #define EDGE_CENTERED_REFINER_FAMILY_H
23 
24 #ifndef SHEAF_DLL_SPEC_H
25 #include "SheafSystem/sheaf_dll_spec.h"
26 #endif
27 
28 #ifndef FIELD_REFINER_FAMILY_H
29 #include "SheafSystem/field_refiner_family.h"
30 #endif
31 
32 namespace fields
33 {
34 
43 {
44 
45  // ===========================================================
47  // ===========================================================
49 
50 public:
51 
57  const field_refinement_policy& xpolicy);
58 
63 
68 
72  virtual const std::string& class_name() const;
73 
77  static const std::string& static_class_name();
78 
79 private:
80 
86 
91  static bool _has_prototype;
92 
96  static bool make_prototype();
97 
99 
100 
101  // ===========================================================
103  // ===========================================================
105 
106 public:
107 
112  virtual void initialize(const base_space_poset& xbase_space,
113  const field_refinement_policy& xpolicy);
114 
116 
117 
118  // ===========================================================
120  // ===========================================================
122 
123 public:
124 
130  virtual edge_centered_refiner_family* clone() const;
131 
135  virtual bool invariant() const;
136 
140  virtual bool is_ancestor_of(const any* xother) const;
141 
143 
144 };
145 
146 } // namespace fields
147 
148 #endif // ifndef EDGE_CENTERED_REFINER_FAMILY_H
149 
150 
151 
152 
153 
154 
A family of compatible local_field_refiners, one for each member of some family of cell types; a map ...
Namespace for fields component of sheaf system.
A family of field refiners that introduce a new vertex in each edge, but avoid introducing new vertic...
Abstract base class with useful features for all objects.
Definition: any.h:39
The lattice of closed cells of a cellular space; a lattice representation of a computational mesh...
An abstract policy that determines the conditions under which a zone should be refined.