24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/at2.h" 32 #ifndef ANTISYMMETRIC_MATRIX_3X3_H 33 #include "SheafSystem/antisymmetric_matrix_3x3.h" 37 #include "SheafSystem/e3.h" 191 at2_e3_lite& operator=(
const row_dofs_type& xrow_dofs);
201 at2_e3_lite& operator=(
const matrix_type& xmatrix);
207 operator matrix_type& ();
213 operator const matrix_type& ()
const;
219 operator row_dofs_type& ();
225 operator const row_dofs_type& ()
const;
239 virtual void put_components(
const value_type& xy_comp,
295 virtual int dd()
const;
314 virtual const tp_lite& tp_prototype(
int xp)
const;
320 virtual const atp_lite& atp_prototype(
int xp)
const;
326 virtual const stp_lite& stp_prototype(
int xp)
const;
356 virtual const std::string& class_name()
const;
393 virtual bool is_ancestor_of(
const any_lite& xother)
const;
398 bool invariant()
const;
408 virtual const void*
row_dofs()
const;
436 static const poset_path& standard_schema_path();
535 const row_dofs_type& xrdt,
536 bool xauto_access =
true);
541 at2_e3& operator=(
const row_dofs_type& xrdt);
561 virtual const volatile_type& lite_prototype()
const;
566 virtual volatile_type* lite_type()
const;
577 virtual void put_components(
dof_type xy_comp,
585 operator row_dofs_type& ();
591 operator const row_dofs_type& ()
const;
658 virtual tp* new_tp(
int xp,
bool xauto_access)
const;
664 virtual atp* new_atp(
int xp,
bool xauto_access)
const;
670 virtual stp* new_stp(
int xp,
bool xauto_access)
const;
688 virtual const std::string& class_name()
const;
705 inline at2_e3*
clone(
bool xnew_state,
bool xauto_access =
true)
const 727 bool is_ancestor_of(
const any* xother)
const;
732 bool invariant()
const;
747 template <
typename T>
748 std::ostream& operator<<(std::ostream& xos, const at2_e3_row_dofs_type<T>& xrdt);
757 namespace atp_algebra
764 SHEAF_DLL_SPEC
void hook(
const e3& x0,
const e3& x1,
at0& xresult,
bool xauto_access);
776 SHEAF_DLL_SPEC
void hook(
const at2_e3& x0,
const e3& x1,
e3& xresult,
bool xauto_access);
788 SHEAF_DLL_SPEC
void star(
const at2_e3& x0,
e3& xresult,
bool xauto_access);
806 SHEAF_DLL_SPEC
void star(
const e3& x0,
at2_e3& xresult,
bool xauto_access);
824 SHEAF_DLL_SPEC
void wedge(
const e3& x0,
const e3& x1,
at2_e3& xresult,
bool xauto_access);
837 #endif // ifndef AT2_E3_H A symmetric tensor of degree p over an abstract vector space.
An antisymmetric tensor of degree p.
at2_e3_lite volatile_type
The associated volatile type.
Euclidean vector space of dimension 3 (volatile version).
static const std::string & static_class_name()
The name of this class.
at2_e3_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.
An antisymmetric rank 2 tensor over a Euclidean vector space of dimension 3. (persistent version)...
The default name space; a poset which contains other posets as members.
at2_e3_row_dofs_type< T > row_dofs_type
The type of the row dofs (type of this).
The standard fiber bundles name space; extends the standard sheaves namespace by defining base space...
Antisymmetric matrix with 3 rows and 3 columns.
A client handle for a general, abstract partially order set.
at2_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...
A path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
row_dofs_type _row_dofs
Row_dofs_type.
at2_e3_row_dofs_type< double > row_dofs_type
The type of the row dofs.
at2_e3_row_dofs_type< double > row_dofs_type
The type of the row dofs.
e3 vector_space_type
Type of underlying vector space.
virtual void put_components(const dof_type xcomps[], int xcomps_dimension)
Set values of all the components to the values in xcomps.
Euclidean vector space of dimension 3 (persistent version).
T::row_dofs_type & row_dofs(T &x0)
The row dofs pod type for x0 (mutable version).
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.
Abstract base class with useful features for all objects.
T components[3]
The xy, xz, yz dofs.
at2_e3_row_dofs_type< double >::matrix_type matrix_type
The type of the associated matrix.
An abstract antisymmetric tensor space of degree p.
Row dofs type for class at2_e3.
An index within the external ("client") scope of a given id space.
A scalar viewed as an antisymmetric tensor of degree 0. As the degree is 0 there is nothing to be sym...
e3_lite vector_space_type
Type of underlying vector space.
Antisymetric tensor of degree 0 (volatile version).
at2_e3_row_dofs_type< T > * clone() const
Creates a new instance of the same type as this.
SHEAF_DLL_SPEC tensor_variance hook(const tensor_variance &x0)
The variance of the hook of a tensor with variance x0.
virtual at2 * clone() const
Make a new handle, no state instance of current.
A general tensor of degree p over an abstract vector space (volatile version). Volatile version does ...
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
T dof_type
The type of the dofs.
static int d()
The dimension of the row dof components.
int_type pod_index_type
The plain old data index type.
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 3. (volatile version)...
A general antisymmetric tensor of degree 2 over an abstract vector space (volatile version)...
SHEAF_DLL_SPEC tensor_variance wedge(const tensor_variance &x0, const tensor_variance &x1)
The variance of the wedge of a tensor with variance x0 with a tnesor with variance x1...
virtual at2_e3_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.
An abstract client handle for a member of a poset.
at2_e3_row_dofs_type< double >::matrix_type matrix_type
The type of the associated matrix.
vd_dof_type dof_type
The type of the degrees of freedom. Note that although dof_type == value_type in this implementation...
SHEAF_DLL_SPEC tensor_variance star(const tensor_variance &x0, int xdd)
The variance of the Hodge star of a tensor with variance x0 over a vector space of dimension xdd...
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.
A general antisymmetric tensor of degree 2 over an abstract vector space.
antisymmetric_matrix_3x3< T > matrix_type
The type of the associated matrix.