SheafSystem  0.0.0.0
barycentric_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 BARYCENTRIC_REFINER_FAMILY_H
22 #define BARYCENTRIC_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 class SHEAF_DLL_SPEC barycentric_refiner_family : public field_refiner_family
41 {
42 
43  // ===========================================================
45  // ===========================================================
47 
48 public:
49 
55  const field_refinement_policy& xpolicy);
56 
62 
66  virtual ~barycentric_refiner_family();
67 
71  virtual const std::string& class_name() const;
72 
76  static const std::string& static_class_name();
77 
78 private:
79 
85 
90  static bool _has_prototype;
91 
95  static bool make_prototype();
96 
98 
99 
100  // ===========================================================
102  // ===========================================================
104 
105 public:
106 
111  virtual void initialize(const base_space_poset& xbase_space,
112  const field_refinement_policy& xpolicy);
113 
114 
115 
117 
118 
119  // ===========================================================
121  // ===========================================================
123 
124 public:
125 
131  virtual barycentric_refiner_family* clone() const;
132 
136  virtual bool invariant() const;
137 
141  virtual bool is_ancestor_of(const any* xother) const;
142 
144 
145 };
146 
147 } // namespace fields
148 
149 #endif // ifndef BARYCENTRIC_REFINER_FAMILY_H
150 
151 
152 
153 
154 
155 
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...
An abstract policy that determines the conditions under which a zone should be refined.
A family of field refiners that introduce a new vertex in in the barycenter of each cell (zone...