SheafSystem  0.0.0.0
sec_t3_e3.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 SEC_T3_E3_H
22 #define SEC_T3_E3_H
23 
24 #ifndef SHEAF_DLL_SPEC_H
25 #include "SheafSystem/sheaf_dll_spec.h"
26 #endif
27 
28 #ifndef SEC_T3_H
29 #include "SheafSystem/sec_t3.h"
30 #endif
31 
32 #ifndef T3_E3
33 #include "SheafSystem/t3_e3.h"
34 #endif
35 
36 namespace fiber_bundle
37 {
38 
39 class sec_e3;
40 
41 //==============================================================================
42 // CLASS SEC_T3_E3
43 //==============================================================================
44 
48 class SHEAF_DLL_SPEC sec_t3_e3 : public sec_t3
49 {
50 
51  // ===========================================================
53  // ===========================================================
55 
56 public:
57 
58  // Typedefs:
59 
63  typedef t3_e3 fiber_type;
64 
69 
75  static host_type& new_host(namespace_type& xns,
76  const poset_path& xhost_path,
77  const poset_path& xschema_path,
78  const poset_path& xvector_space_path,
79  bool xauto_access);
80 
87  static host_type& standard_host(namespace_type& xns,
88  const poset_path& xbase_path,
89  const poset_path& xrep_path,
90  const std::string& xsection_suffix,
91  const std::string& xfiber_suffix,
92  bool xauto_access);
93 
94 protected:
95 
96 private:
97 
99 
100 
101  //============================================================================
103  //============================================================================
105 
106 public:
107 
111  sec_t3_e3();
112 
117  sec_t3_e3(const sec_rep_space_member& xother);
118 
124  sec_t3_e3(sec_rep_space* xhost,
125  abstract_poset_member& xbase_mbr,
126  int xbase_version = CURRENT_HOST_VERSION,
127  bool xauto_access = true);
128 
133  sec_t3_e3(sec_rep_space* xhost,
134  section_dof_map* xdof_map = 0,
135  bool xauto_access = true);
136 
141  sec_t3_e3(const sec_rep_space* xhost, pod_index_type xhub_id);
142 
147  sec_t3_e3(const sec_rep_space* xhost, const scoped_index& xid);
148 
153  sec_t3_e3(const sec_rep_space* xhost, const std::string& xname);
154 
159  sec_t3_e3(const namespace_poset* xnamespace,
160  const poset_path& xpath,
161  bool xauto_access = true);
162 
166  virtual sec_t3_e3& operator=(const abstract_poset_member& xother);
167 
171  sec_t3_e3& operator=(const sec_t3_e3& xother);
172 
176  sec_t3_e3& operator=(const t3_e3& xfiber);
177 
181  sec_t3_e3& operator=(const t3_e3_lite& xfiber);
182 
186  ~sec_t3_e3();
187 
191  virtual const fiber_type& fiber_prototype() const;
192 
193 protected:
194 
195 private:
196 
198 
199 
200  //============================================================================
202  //============================================================================
204 
205 public:
206 
207 protected:
208 
209 private:
210 
212 
213 
214  //============================================================================
216  //============================================================================
218 
219 public:
220 
221 protected:
222 
223 private:
224 
226 
227 
228  //============================================================================
230  //============================================================================
232 
233 public:
234 
235 protected:
236 
237 private:
238 
240 
241 
242  //============================================================================
244  //============================================================================
246 
247 public:
248 
249 protected:
250 
251 private:
252 
254 
255 
256  //============================================================================
258  //============================================================================
260 
261 public:
262 
266  virtual const std::string& class_name() const;
267 
271  static const std::string& static_class_name();
272 
276  virtual sec_t3_e3* clone() const;
277 
283  inline sec_t3_e3* clone(bool xnew_state, bool xauto_access = true) const
284  {
285  return static_cast<sec_t3_e3*>(sec_tp::clone(xnew_state, xauto_access));
286  }
287 
288 protected:
289 
290 private:
291 
293 
294 
295  //============================================================================
297  //============================================================================
299 
300 public:
301 
305  bool fiber_is_ancestor_of(const any* xother) const;
306 
310  bool is_ancestor_of(const any* xother) const;
311 
315  bool invariant() const;
316 
317 protected:
318 
319 private:
320 
322 
323 };
324 
325 } // namespace fiber_bundle
326 
327 #endif // ifndef SEC_T3_E3_H
328 
329 
sec_e3 vector_space_type
Type of underlying vector space.
Definition: sec_t3_e3.h:68
The abstract map from section dof ids to section dof values of heterogeneous type.
The default name space; a poset which contains other posets as members.
The standard fiber bundles name space; extends the standard sheaves namespace by defining base space...
A path defined by a poset name and a member name separated by a forward slash (&#39;/&#39;). For example: "cell_definitions/triangle".
Definition: poset_path.h:48
A member of a sec_rep_space; a section.
A section of a bundle with fiber type t3_e3.
Definition: sec_t3_e3.h:48
A section of a bundle with fiber type t3.
Definition: sec_t3.h:46
t3_e3 fiber_type
The fiber type.
Definition: sec_t3_e3.h:63
Abstract base class with useful features for all objects.
Definition: any.h:39
A tensor of degree 3 over a Euclidean vector space of dimension 3 (volatile version).
Definition: t3_e3.h:151
An abstract tensor section space of degree p.
Definition: sec_tp_space.h:53
An index within the external ("client") scope of a given id space.
Definition: scoped_index.h:116
A section of a fiber bundle with a 3-dimensional Euclidean vector space fiber.
Definition: sec_e3.h:47
virtual sec_tp * clone() const
Make a new handle, no state instance of current.
Definition: sec_tp.cc:903
int_type pod_index_type
The plain old data index type.
Definition: pod_types.h:49
sec_t3_e3 * clone(bool xnew_state, bool xauto_access=true) const
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true...
Definition: sec_t3_e3.h:283
An abstract client handle for a member of a poset.
Namespace for the fiber_bundles component of the sheaf system.
A tensor of degree 3 over a Euclidean vector space of dimension 3 (persistent version).
Definition: t3_e3.h:401
A handle for a poset whose members are numerical representations of sections of a fiber bundle...
Definition: sec_rep_space.h:61