24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/ed.h" 150 e4_lite(
const row_dofs_type& xrow_dofs);
155 e4_lite& operator=(
const row_dofs_type& xrow_dofs);
169 operator row_dofs_type& ();
175 operator const row_dofs_type& ()
const;
182 virtual void put_components(
const value_type& x0,
251 virtual int dd()
const;
275 static const tp_lite& static_tp_prototype(
int xp);
281 virtual const tp_lite& tp_prototype(
int xp)
const;
287 static const atp_lite& static_atp_prototype(
int xp);
293 virtual const atp_lite& atp_prototype(
int xp)
const;
299 static const stp_lite& static_stp_prototype(
int xp);
305 virtual const stp_lite& stp_prototype(
int xp)
const;
336 virtual const std::string& class_name()
const;
373 virtual bool is_ancestor_of(
const any_lite& xother)
const;
378 bool invariant()
const;
388 virtual const void*
row_dofs()
const;
410 class SHEAF_DLL_SPEC
e4 :
public ed 423 static const poset_path& standard_schema_path();
519 const row_dofs_type& xrdt,
520 bool xauto_access =
true);
525 e4& operator=(
const row_dofs_type& xrdt);
535 e4& operator=(
const e4& xother);
545 virtual const volatile_type& lite_prototype()
const;
550 virtual volatile_type* lite_type()
const;
618 virtual void put_components(
dof_type x0,
627 operator row_dofs_type& ();
633 operator const row_dofs_type& ()
const;
653 static tp* new_tp(
tp_space& xvector_space,
int xp);
659 static atp* new_atp(
tp_space& xvector_space,
int xp);
665 static stp* new_stp(
tp_space& xvector_space,
int xp);
673 virtual tp* new_tp(
int xp,
bool xauto_access)
const;
679 virtual atp* new_atp(
int xp,
bool xauto_access)
const;
685 virtual stp* new_stp(
int xp,
bool xauto_access)
const;
703 virtual const std::string& class_name()
const;
720 inline e4*
clone(
bool xnew_state,
bool xauto_access =
true)
const 722 return static_cast<e4*
>(
ed::clone(xnew_state, xauto_access));
741 bool is_ancestor_of(
const any* xother)
const;
746 bool invariant()
const;
762 template <
typename T>
763 std::ostream& operator<<(std::ostream& xos, const e4_row_dofs_type<T>& xrdt);
1019 #endif // ifndef E4_H at2_e4_lite atp_type
Type of antisymmetric tensor of degree 2 over e4_lite.
Row dofs type for class e4.
at0 atp_type
Type of antisymmetric tensor of degree 0 over e4.
st2_e4_lite stp_type
Type of symmetric tensor of degree 2 over e4_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.
at0_lite atp_type
Type of antisymmetric tensor of degree 0 over e4_lite.
An antisymmetric tensor of degree p.
at3_e4 atp_type
Type of antisymmetric tensor of degree 3 over e4.
Euclidean vector space of dimension 4 (persistent version).
T dof_type
The type of the dofs.
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...
e4 atp_type
Type of antisymmetric tensor of degree 1 over e4.
A client handle for a general, abstract partially order set.
at0_lite tp_type
Type of general tensor of degree 0 over e4_lite.
A path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
e4_row_dofs_type< T > * clone() const
Creates a new instance of the same type as this.
st2_e4 stp_type
Type of symmetric tensor of degree 2 over e4.
at0 tp_type
Type of general tensor of degree 0 over e4.
e4_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.
e4_lite stp_type
Type of symmetric tensor of degree 1 over e4_lite.
t4_e4 tp_type
Type of general tensor of degree 4 over e4.
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
virtual void put_components(const dof_type xcomps[], int xcomps_dimension)
Set values of all the components to the values in xcomps.
static int d()
The dimension of the row dof components.
at2_e4 atp_type
Type of antisymmetric tensor of degree 2 over e4.
T::row_dofs_type & row_dofs(T &x0)
The row dofs pod type for x0 (mutable version).
e4_lite volatile_type
The associated volatile type.
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.
Abstract base class with useful features for all volatile objects.
t3_e4 tp_type
Type of general tensor of degree 3 over e4.
Abstract base class with useful features for all objects.
st4_e4_lite stp_type
Type of symmetric tensor of degree 4 over e4_lite.
T components[4]
The components (row_dofs).
Tensor types of degree P over VECTOR_TYPE. No generic implementation defined, must be specialized for...
e4 * 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...
Euclidean vector space of dimension d (volatile version).
e4 tp_type
Type of general tensor of degree 1 over e4.
e4_row_dofs_type< double > row_dofs_type
The type of the row dofs.
An index within the external ("client") scope of a given id space.
st3_e4_lite stp_type
Type of symmetric tensor of degree 3 over e4_lite.
t3_e4_lite tp_type
Type of general tensor of degree 3 over e4_lite.
A scalar viewed as an antisymmetric tensor of degree 0. As the degree is 0 there is nothing to be sym...
static const std::string & static_class_name()
The name of this class.
Antisymetric tensor of degree 0 (volatile version).
e4_lite atp_type
Type of antisymmetric tensor of degree 1 over e4_lite.
at0_lite stp_type
Type of symmetric tensor of degree 0 over e4_lite.
Euclidean vector space of dimension 4 (volatile version).
at0 stp_type
Type of symmetric tensor of degree 0 over e4.
A general tensor of degree p over an abstract vector space (volatile version). Volatile version does ...
t2_e4_lite tp_type
Type of general tensor of degree 2 over e4_lite.
t2_e4 tp_type
Type of general tensor of degree 2 over e4.
virtual ed * clone() const
Make a new handle, no state instance of current.
void atp_type
Type of antisymmetric tensor of degree 4 over e4_lite.
row_dofs_type _row_dofs
Row_dofs_type.
e4_row_dofs_type< double > row_dofs_type
The type of the row dofs.
e4_lite vector_space_type
Type of underlying vector space.
void atp_type
Type of antisymmetric tensor of degree 4 over e4.
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.
e4 vector_space_type
Type of underlying vector space.
An abstract vector space viewed as an antisymmetric tensor space of degree 1.
Euclidean vector space of dimension d (peresistent version).
virtual e4_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.
int_type pod_index_type
The plain old data index type.
e4_row_dofs_type< T > row_dofs_type
The type of the row dofs (type of this).
e4 stp_type
Type of symmetric tensor of degree 1 over e4.
t4_e4_lite tp_type
Type of general tensor of degree 4 over e4_lite.
An abstract client handle for a member of a poset.
st4_e4 stp_type
Type of symmetric tensor of degree 4 over e4.
e4_lite tp_type
Type of general tensor of degree 1 over e4_lite.
st3_e4 stp_type
Type of symmetric tensor of degree 3 over e4.
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.
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.
at3_e4_lite atp_type
Type of antisymmetric tensor of degree 3 over e4_lite.