SheafSystem  0.0.0.0
zone_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 ZONE_CENTERED_REFINER_FAMILY_H
22 #define ZONE_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 
40 {
41 
42  // ===========================================================
44  // ===========================================================
46 
47 public:
48 
54  const field_refinement_policy& xpolicy);
55 
61 
66 
70  virtual const std::string& class_name() const;
71 
75  static const std::string& static_class_name();
76 
77 private:
78 
84 
89  static bool _has_prototype;
90 
94  static bool make_prototype();
95 
97 
98 
99  // ===========================================================
101  // ===========================================================
103 
104 public:
105 
110  virtual void initialize(const base_space_poset& xbase_space,
111  const field_refinement_policy& xpolicy);
112 
114 
115 
116  // ===========================================================
118  // ===========================================================
120 
121 public:
122 
128  virtual zone_centered_refiner_family* clone() const;
129 
133  virtual bool invariant() const;
134 
138  virtual bool is_ancestor_of(const any* xother) const;
139 
141 
142 };
143 
144 } // namespace fields
145 
146 #endif // ifndef ZONE_CENTERED_REFINER_FAMILY_H
147 
148 
149 
150 
151 
152 
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.
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...
A family of field refiners that introduce a new vertex in the center of a zone, but not in the bounda...
An abstract policy that determines the conditions under which a zone should be refined.