24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/met_ed.h" 32 #ifndef SYMMETRIC_MATRIX_2X2_H 33 #include "SheafSystem/symmetric_matrix_2x2.h" 37 #include "SheafSystem/e2.h" 196 met_e2_lite& operator=(
const row_dofs_type& xrow_dofs);
206 met_e2_lite& operator=(
const matrix_type& xmatrix);
212 operator matrix_type& ();
218 operator const matrix_type& ()
const;
224 operator row_dofs_type& ();
230 operator const row_dofs_type& ()
const;
244 virtual void put_components(
const value_type& xx_comp,
318 virtual int dd()
const;
337 virtual const tp_lite& tp_prototype(
int xp)
const;
343 virtual const atp_lite& atp_prototype(
int xp)
const;
349 virtual const stp_lite& stp_prototype(
int xp)
const;
379 virtual const std::string& class_name()
const;
416 virtual bool is_ancestor_of(
const any_lite& xother)
const;
421 bool invariant()
const;
431 virtual const void*
row_dofs()
const;
460 static const poset_path& standard_schema_path();
554 const row_dofs_type& xrdt,
555 bool xauto_access =
true);
560 met_e2& operator=(
const row_dofs_type& xrdt);
580 virtual const volatile_type& lite_prototype()
const;
585 virtual volatile_type* lite_type()
const;
592 operator row_dofs_type& ();
598 operator const row_dofs_type& ()
const;
689 virtual tp* new_tp(
int xp,
bool xauto_access)
const;
695 virtual atp* new_atp(
int xp,
bool xauto_access)
const;
701 virtual stp* new_stp(
int xp,
bool xauto_access)
const;
719 virtual const std::string& class_name()
const;
736 inline met_e2*
clone(
bool xnew_state,
bool xauto_access =
true)
const 757 bool is_ancestor_of(
const any* xother)
const;
762 bool invariant()
const;
777 template <
typename T>
778 std::ostream& operator<<(std::ostream& xos, const met_e2_row_dofs_type<T>& xrdt);
780 namespace met_algebra
786 SHEAF_DLL_SPEC
void raise(
const met_e2& xmetric,
const e2& xcovector,
e2& xresult,
792 SHEAF_DLL_SPEC
void lower(
const met_e2& xmetric,
const e2& xvector,
e2& xresult,
821 #endif // ifndef MET_E2_H SHEAF_DLL_SPEC tensor_variance lower(const tensor_variance &x0, int xi)
The variance of the lower of a tensor with variance x0 on index xi.
A symmetric tensor of degree p over an abstract vector space.
An antisymmetric tensor of degree p.
vd_value_type value_type
The type of component in the fiber; the scalar type in the fiber vector space.
Euclidean vector space of dimension 2 (persistent version).
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 client handle for a general, abstract partially order set.
A metric tensor over a d-dimensional Euclidean vector space (persistent version). ...
met_e2_row_dofs_type< double > row_dofs_type
The type of the row dofs.
static const std::string & static_class_name()
The name of this class.
A path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
met_e2_row_dofs_type< double > row_dofs_type
The type of the row dofs.
A metric tensor over a d-dimensional Euclidean vector space (volatile version).
virtual void put_components(const dof_type xcomps[], int xcomps_dimension)
Set values of all the components to the values in xcomps.
T::row_dofs_type & row_dofs(T &x0)
The row dofs pod type for x0 (mutable version).
e2_lite vector_space_type
Type of underlying vector space.
An antisymmetric tensor of degree p over an abstract vector space (volatile version).
e2 vector_space_type
Type of underlying vector space.
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.
A metric tensor over a 2 dimensional Euclidean vector space (persistent version). ...
row_dofs_type _row_dofs
Row_dofs_type.
met_e2_row_dofs_type< double >::matrix_type matrix_type
The type of the associated matrix.
Euclidean vector space of dimension 2 (volatile version).
An index within the external ("client") scope of a given id space.
Symmetric matrix with 2 rows and 2 columns.
T components[3]
The xx, xy and yy dofs.
met_e2_row_dofs_type< T > * clone() const
Creates a new instance of the same type as this.
met_e2_row_dofs_type< T > row_dofs_type
The type of the row dofs (type of this).
met_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.
A general tensor of degree p over an abstract vector space (volatile version). Volatile version does ...
met_e2_lite volatile_type
The associated volatile type.
T & operator[](int xindex)
Value of xindex-th component (row dof) (non const version).
static int d()
The dimension of the row dof components.
int_type pod_index_type
The plain old data index type.
met_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 met_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.
symmetric_matrix_2x2< T > matrix_type
The type of the associated matrix.
An abstract client handle for a member of a poset.
virtual met_ed * clone() const
Make a new handle, no state instance of current.
A metric tensor over a 2 dimensional Euclidean vector space (volatile version).
A symmetric tensor of degree p over an abstract vector space (volatile version).
T dof_type
The type of the dofs.
An abstract symmetric tensor space of degree p.
Namespace for the fiber_bundles component of the sheaf system.
Row dofs type for class met_e2.