25 #ifndef SHEAF_DLL_SPEC_H 26 #include "SheafSystem/sheaf_dll_spec.h" 30 #include "SheafSystem/tp.h" 106 virtual int p()
const;
124 virtual int d()
const;
132 virtual value_type component(
int xi,
int xj,
int xk,
int xl)
const;
137 virtual void put_component(
int xi,
int xj,
int xk,
int xl,
144 virtual int index_for_ijkl(
int xi,
int xj,
int xk,
int xl)
const;
175 virtual const std::string& class_name()
const;
180 static const std::string& static_class_name();
185 virtual t4_lite* clone()
const;
203 virtual bool is_ancestor_of(
const any_lite& xother)
const;
208 bool invariant()
const;
223 class SHEAF_DLL_SPEC
t4 :
public tp 236 static const poset_path& standard_schema_path();
281 t4(
const t4& xother);
291 t4& operator=(
const t4& xother);
301 virtual const volatile_type& lite_prototype()
const;
306 virtual volatile_type* lite_type()
const;
311 t4(
poset* xhost,
bool xauto_access =
true);
329 t4(
const poset* xhost,
const std::string& xname);
371 virtual value_type component(
int xi,
int xj,
int xk,
int xl)
const;
376 value_type component(
int xi,
int xj,
int xk,
int xl,
bool xauto_access)
const;
381 virtual void put_component(
int xi,
int xj,
int xk,
int xl,
value_type xvalue);
386 void put_component(
int xi,
int xj,
int xk,
int xl,
value_type xvalue,
bool xauto_access);
392 virtual int index_for_ijkl(
int xi,
int xj,
int xk,
int xl)
const;
424 virtual const std::string& class_name()
const;
429 static const std::string& static_class_name();
434 virtual t4* clone()
const;
441 inline t4*
clone(
bool xnew_state,
bool xauto_access =
true)
const 443 return static_cast<t4*
>(
tp::clone(xnew_state, xauto_access));
462 virtual bool invariant()
const;
467 virtual bool is_ancestor_of(
const any* other)
const;
482 #endif // ifndef T4_H vd_value_type value_type
The type of component in the fiber; the scalar type in the fiber vector space.
static_const_int
The tensor degree (static 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 path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
value_type component(int xindex) const
The xindex-th component.
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 client handle for a mutable partially ordered set.
An index within the external ("client") scope of a given id space.
t4_lite volatile_type
The associated volatile type.
virtual value_type component(int xindex) const
The value of the xi-th component.
A general tensor of degree p over an abstract vector space (volatile version). Volatile version does ...
A tensor of degree 4 over an abstract vector space (volatile version).
void put_component(int xindex, value_type xcomp)
Set the xindex-th component to xcomp.
static_const_int
The tensor degree (static version)
virtual tp * clone() const
Make a new handle, no state instance of current.
int_type pod_index_type
The plain old data index type.
vd_value_type value_type
The POD ("plain old data") type of scalar in the vector space of this.
An abstract client handle for a member of a poset.
virtual void put_component(int xindex, value_type xvalue)
Sets the value of the xindex-th component to xvalue.
An abstract tensor space of degree p.
t4 * 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...
Namespace for the fiber_bundles component of the sheaf system.
Row dofs type for class vd.
A tensor of degree 4 over an abstract vector space (persistent version).