24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/ed.h" 152 e2_lite(
const row_dofs_type& xrow_dofs);
157 e2_lite& operator=(
const row_dofs_type& xrow_dofs);
169 virtual void put_components(
const value_type& x_comp,
176 operator row_dofs_type& ();
182 operator const row_dofs_type& ()
const;
247 virtual int dd()
const;
271 static const tp_lite& static_tp_prototype(
int xp);
277 virtual const tp_lite& tp_prototype(
int xp)
const;
283 static const atp_lite& static_atp_prototype(
int xp);
289 virtual const atp_lite& atp_prototype(
int xp)
const;
295 static const stp_lite& static_stp_prototype(
int xp);
301 virtual const stp_lite& stp_prototype(
int xp)
const;
331 virtual const std::string& class_name()
const;
368 virtual bool is_ancestor_of(
const any_lite& xother)
const;
373 bool invariant()
const;
383 virtual const void*
row_dofs()
const;
405 class SHEAF_DLL_SPEC
e2 :
public ed 417 static const poset_path& standard_schema_path();
513 const row_dofs_type& xrdt,
514 bool xauto_access =
true);
519 e2& operator=(
const row_dofs_type& xrdt);
529 e2& operator=(
const e2& xother);
539 virtual const volatile_type& lite_prototype()
const;
544 virtual volatile_type* lite_type()
const;
619 operator row_dofs_type& ();
625 operator const row_dofs_type& ()
const;
644 static tp* new_tp(
tp_space& xvector_space,
int xp);
650 static atp* new_atp(
tp_space& xvector_space,
int xp);
656 static stp* new_stp(
tp_space& xvector_space,
int xp);
664 virtual tp* new_tp(
int xp,
bool xauto_access)
const;
670 virtual atp* new_atp(
int xp,
bool xauto_access)
const;
676 virtual stp* new_stp(
int xp,
bool xauto_access)
const;
694 virtual const std::string& class_name()
const;
711 inline e2*
clone(
bool xnew_state,
bool xauto_access =
true)
const 713 return static_cast<e2*
>(
ed::clone(xnew_state, xauto_access));
732 bool is_ancestor_of(
const any* xother)
const;
737 bool invariant()
const;
752 template <
typename T>
753 std::ostream& operator<<(std::ostream& xos, const e2_row_dofs_type<T>& xrdt);
1020 #endif // ifndef E2_H T components[2]
The components (row_dofs).
at3_e2_lite atp_type
Type of antisymmetric tensor of degree 3 over e2_lite.
A symmetric tensor of degree p over an abstract vector space.
vd_value_type value_type
The type of component in the fiber; the scalar type in the fiber vector space.
An antisymmetric rank 2 tensor over a Euclidean vector space of dimension 2 (persistent version)...
An antisymmetric tensor of degree p.
at0 atp_type
Type of antisymmetric tensor of degree 0 over e2.
Euclidean vector space of dimension 2 (persistent version).
A tensor of degree 2 over a Euclidean vector space of dimension 2 (volatile version).
e2_lite stp_type
Type of symmetric tensor of degree 1 over e2_lite.
T dof_type
The type of the dofs.
The default name space; a poset which contains other posets as members.
at0 tp_type
Type of general tensor of degree 0 over e2.
The standard fiber bundles name space; extends the standard sheaves namespace by defining base space...
A tensor of degree 2 over a Euclidean vector space of dimension 2 (persistent version).
t2_e2_lite tp_type
Type of general tensor of degree 2 over e2_lite.
A client handle for a general, abstract partially order set.
A path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
at0_lite atp_type
Type of antisymmetric tensor of degree 0 over e2_lite.
t4_e2 tp_type
Type of general tensor of degree 4 over e2.
st4_e2_lite stp_type
Type of symmetric tensor of degree 4 over e2_lite.
e2_row_dofs_type< T > * clone() const
Creates a new instance of the same type as this.
e2_row_dofs_type< T > row_dofs_type
The type of the row dofs (type of this).
A tensor of degree 4 over a Euclidean vector space of dimension 2 (persistent version).
at0 stp_type
Type of symmetric tensor of degree 0 over e2.
virtual void put_components(const dof_type xcomps[], int xcomps_dimension)
Set values of all the components to the values in xcomps.
An antisymmetric rank 2 tensor over a Euclidean vector space of dimension 2 (volatile version)...
void atp_type
Type of antisymmetric tensor of degree 4 over e2_lite.
T::row_dofs_type & row_dofs(T &x0)
The row dofs pod type for x0 (mutable version).
e2_lite tp_type
Type of general tensor of degree 1 over e2_lite.
at2_e2 atp_type
Type of antisymmetric tensor of degree 2 over e2.
An antisymmetric tensor of degree p over an abstract vector space (volatile version).
A general tensor of "degree" p and given "variance" over an abstract vector space.
static const std::string & static_class_name()
The name of this class.
at2_e2_lite atp_type
Type of antisymmetric tensor of degree 2 over e2_lite.
e2 stp_type
Type of symmetric tensor of degree 1 over e2.
Abstract base class with useful features for all volatile objects.
Abstract base class with useful features for all objects.
e2 atp_type
Type of antisymmetric tensor of degree 1 over e2.
Tensor types of degree P over VECTOR_TYPE. No generic implementation defined, must be specialized for...
e2_lite atp_type
Type of antisymmetric tensor of degree 1 over e2_lite.
st3_e2_lite stp_type
Type of symmetric tensor of degree 3 over e2_lite.
static int d()
The dimension of the row dof components.
Euclidean vector space of dimension d (volatile version).
Euclidean vector space of dimension 2 (volatile version).
e2_row_dofs_type< double > row_dofs_type
The type of the row dofs.
e2 vector_space_type
Type of underlying vector space.
t3_e2_lite tp_type
Type of general tensor of degree 3 over e2_lite.
An index within the external ("client") scope of a given id space.
t4_e2_lite tp_type
Type of general tensor of degree 4 over e2_lite.
st2_e2 stp_type
Type of symmetric tensor of degree 2 over e2.
A scalar viewed as an antisymmetric tensor of degree 0. As the degree is 0 there is nothing to be sym...
void atp_type
Type of antisymmetric tensor of degree 4 over e2.
st2_e2_lite stp_type
Type of symmetric tensor of degree 2 over e2_lite.
Antisymetric tensor of degree 0 (volatile version).
SHEAF_DLL_SPEC vd_value_type perp_dot(const e2_lite &x0, const e2_lite &x1)
The perp-dot pseudo cross product of x0 with x1 (version for persistent types).
A symmetric rank 3 tensor over a 3D Euclidean vector space (persistent version).
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
A general tensor of degree p over an abstract vector space (volatile version). Volatile version does ...
e2 * 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...
virtual ed * clone() const
Make a new handle, no state instance of current.
A symmetric rank 4 tensor over a Euclidean vector space of dimension 3. (volatile version)...
st4_e2 stp_type
Type of symmetric tensor of degree 4 over e2.
row_dofs_type _row_dofs
Row_dofs_type.
t2_e2 tp_type
Type of general tensor of degree 2 over e2.
e2 tp_type
Type of general tensor of degree 1 over e2.
bool operator==(const singly_linked_list< T, Alloc > &lhs, const singly_linked_list< T, Alloc > &rhs)
Checks if the contents of lhs and rhs are equal, that is, whether lhs.size() == rhs.size() and each element in lhs compares equal with the element in rhs at the same position.
e2_lite vector_space_type
Type of underlying vector space.
An abstract vector space viewed as an antisymmetric tensor space of degree 1.
e2_row_dofs_type< T > * clone(bool xnew_state, bool xauto_access) const
Virtual constructor, makes a new instance of the same type as this; synonym for clone(), intended for use only in certain templates.
t3_e2 tp_type
Type of general tensor of degree 3 over e2.
Euclidean vector space of dimension d (peresistent version).
at0_lite stp_type
Type of symmetric tensor of degree 0 over e2_lite.
e2_row_dofs_type< double > row_dofs_type
The type of the row dofs.
int_type pod_index_type
The plain old data index type.
A symmetric tensor of degree 2 over a Euclidean vector space of dimension 2 (persistent version)...
e2_lite volatile_type
The associated volatile type.
A symmetric tensor of degree 2 over a Euclidean vector space of dimension 2 (volatile version)...
virtual e2_lite * clone(bool xnew_state, bool xauto_access) const
Virtual constructor, makes a new instance of the same type as this; synonym for clone(), intended for use only in certain templates.
at0_lite tp_type
Type of general tensor of degree 0 over e2_lite.
An abstract client handle for a member of a poset.
A tensor of degree 4 over a Euclidean vector space of dimension 2 (volatile version).
vd_dof_type dof_type
The type of the degrees of freedom. Note that although dof_type == value_type in this implementation...
An abstract tensor space of degree p.
at3_e2 atp_type
Type of antisymmetric tensor of degree 3 over e2.
A symmetric tensor of degree p over an abstract vector space (volatile version).
void put_components(const dof_type comps[], int comps_dimension)
Sets values of all the components to the values in comps.
Namespace for the fiber_bundles component of the sheaf system.
Row dofs type for class e2.
double vd_value_type
The type of component in the fiber; the scalar type in the fiber vector space.
st3_e2 stp_type
Type of symmetric tensor of degree 3 over e2.