SheafSystem  0.0.0.0
field_met_e2.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 
24 
25 #ifndef FIELD_MET_E2_H
26 #define FIELD_MET_E2_H
27 
28 #ifndef SHEAF_DLL_SPEC_H
29 #include "SheafSystem/sheaf_dll_spec.h"
30 #endif
31 
32 #ifndef FIELD_MET_ED_H
33 #include "SheafSystem/field_met_ed.h"
34 #endif
35 
36 namespace fiber_bundle
37 {
38 class SHEAF_DLL_SPEC sec_ed;
39 class SHEAF_DLL_SPEC sec_met_e2;
40 class SHEAF_DLL_SPEC met_e2;
41 class SHEAF_DLL_SPEC met_e2_lite;
42 }
43 
44 namespace fields
45 {
46 
50 class SHEAF_DLL_SPEC field_met_e2 : public field_met_ed
51 {
52  //===========================================================================
54  //===========================================================================
56 public:
57 
59 
63 
68 
72  field_met_e2();
73 
77  field_met_e2(const field_met_e2& xother, bool xauto_access);
78 
82  field_met_e2(const sec_ed& xcoordinates, const sec_met_e2& xproperty,
83  bool xauto_access);
84 
90  const poset_path& xcoordinates_path,
91  const poset_path& xproperty_path,
92  bool xauto_access);
93 
97  virtual field_met_e2& operator=(const field_vd& xother);
98 
102  field_met_e2& operator=(const field_met_e2& xother);
103 
107  field_met_e2& operator=(const sec_met_e2& xsection);
108 
112  field_met_e2& operator=(const met_e2& xfiber);
113 
117  field_met_e2& operator=(const met_e2_lite& xfiber);
118 
122  virtual ~field_met_e2();
123 
127  sec_met_e2& property() const;
128 
132  bool same_property_fiber_schema(const field_met_e2& xother,
133  bool xauto_access) const;
134 
135 protected:
136 
140  field_met_e2(sec_met_e2* xproperty,
141  sec_ed_invertible* xcoordinates,
142  base_space_member* xbase_space);
143 
144 private:
145 
147 
148  //===========================================================================
150  //===========================================================================
152 
153 public:
154 
158  virtual const std::string& class_name() const;
159 
163  static const std::string& static_class_name();
164 
168  virtual bool is_ancestor_of(const any* xother) const;
169 
173  virtual field_met_e2* clone() const;
174 
178  virtual bool invariant() const;
179 
180 protected:
181 private:
182 
184 };
185 
186 //=============================================================================
187 // NON-MEMBER FUNCTIONS OF CLASS FIELD_MET_E2
188 //=============================================================================
189 
193 SHEAF_DLL_SPEC field_met_e2& operator>>(const field_met_e2& xsrc, field_met_e2& xdst);
194 
198 SHEAF_DLL_SPEC std::ostream& operator<<(std::ostream& xos, const field_met_e2& xfield);
199 
200 } // namespace fields
201 
202 //==============================================================================
203 
205 
206 //...
207 
208 
209 #endif // ifndef FIELD_MET_E2_H
Namespace for fields component of sheaf system.
The default name space; a poset which contains other posets as members.
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 client handle for a member of a base space poset.
A section of a fiber bundle with a d-dimensional Euclidean vector space fiber.
Definition: sec_ed.h:47
Abstract base class with useful features for all objects.
Definition: any.h:39
A metric tensor over a 2 dimensional Euclidean vector space (persistent version). ...
Definition: met_e2.h:448
An abstract invertible section of a fiber bundle with a d-dimensional base space and a d-dimensional ...
A property of type sec_met_ed as a function of global coordinates.
Definition: field_met_ed.h:50
A property of type sec_met_e2 as a function of global coordinates.
Definition: field_met_e2.h:50
A vd-valued property as a function of global coordinates.
Definition: field_vd.h:69
sec_ed coordinates_section_type
The coordinates section type.
Definition: field_met_e2.h:67
SHEAF_DLL_SPEC field_met_e2 & operator>>(const field_met_e2 &xsrc, field_met_e2 &xdst)
Pushes xsrc.property() to xdst.property().
A metric tensor over a 2 dimensional Euclidean vector space (volatile version).
Definition: met_e2.h:142
A section of a bundle with fiber type met_e2.
Definition: sec_met_e2.h:48
Namespace for the fiber_bundles component of the sheaf system.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const binary_index &xbi)
Insert binary_index& xbi into ostream& os.
Definition: binary_index.cc:35
sec_met_e2 property_section_type
Typedefs:
Definition: field_met_e2.h:62