24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/sec_vd.h" 33 #include "SheafSystem/tp.h" 128 bool xauto_access =
true);
140 bool xauto_access =
true);
149 int xbase_version = CURRENT_HOST_VERSION,
150 bool xauto_access =
true);
165 sec_tp& operator=(
const tp& xfiber);
180 virtual const fiber_type& fiber_prototype()
const;
186 virtual int p()
const;
192 int p(
bool xauto_access)
const;
197 virtual int dd()
const;
202 virtual int dd(
bool xauto_access)
const;
212 poset_path vector_space_path(
bool xauto_access)
const;
222 virtual sec_tp_space& vector_space(
bool xauto_access)
const;
227 static const std::string create_tensor_space_name(
const std::string& xvector_space_name,
const std::string& xname);
238 virtual bool variance(
int xi,
bool xauto_access)
const;
243 void put_variance(
const tensor_variance& xvariance,
bool xauto_access);
248 void put_variance(
int xi,
bool xvariance,
bool xauto_access);
253 virtual bool is_covariant(
bool xauto_access)
const;
258 virtual bool is_covariant(
int xi,
bool xauto_access)
const;
263 virtual void put_is_covariant(
bool xauto_access);
268 void put_is_covariant(
int xi,
bool xauto_access);
273 virtual bool is_contravariant(
bool xauto_access)
const;
278 virtual bool is_contravariant(
int xi,
bool xauto_access)
const;
283 virtual void put_is_contravariant(
bool xauto_access);
288 void put_is_contravariant(
int xi,
bool xauto_access);
335 virtual const std::string& class_name()
const;
340 static const std::string& static_class_name();
345 virtual sec_tp* clone()
const;
352 inline sec_tp*
clone(
bool xnew_state,
bool xauto_access =
true)
const 374 host_type* host()
const;
398 bool fiber_is_ancestor_of(
const any* xother)
const;
403 bool is_ancestor_of(
const any* xother)
const;
408 bool invariant()
const;
426 namespace sec_tp_algebra
433 SHEAF_DLL_SPEC
void alt(
const sec_tp& x0,
sec_atp& xresult,
bool xauto_access);
439 SHEAF_DLL_SPEC
void sym(
const sec_tp& x0,
sec_stp& xresult,
bool xauto_access);
463 #endif // ifndef SEC_TP_H void alt(const GT &x0, AT &xresult, bool xauto_access)
void sym(const GT &x0, ST &xresult, bool xauto_access)
sec_at1 vector_space_type
The type of the underlying vector space.
The "type" of a tensor; specifies the degree and the co- or contra-variance for each index of a tenso...
The abstract map from section dof ids to section dof values of heterogeneous type.
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 path defined by a poset name and a member name separated by a forward slash ('/'). For example: "cell_definitions/triangle".
A member of a sec_rep_space; a section.
sec_tp_space host_type
The type of host poset.
A section of a bundle with fiber type at1.
A general tensor of "degree" p and given "variance" over an abstract vector space.
Abstract base class with useful features for all objects.
An abstract tensor section space of degree p.
An index within the external ("client") scope of a given id space.
A section of a bundle with fiber type atp.
A section of a bundle with fiber type stp.
SHEAF_DLL_SPEC tensor_variance contract(const tensor_variance &x0, int xp, int xq)
The variance of the contration of a tensor with variance x0 on indices xp and xq. ...
A general tensor of degree p over an abstract vector space (volatile version). Volatile version does ...
A section of a fiber bundle with a d-dimensional vector space fiber.
tp fiber_type
The fiber type.
sec_tp * 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...
int_type pod_index_type
The plain old data index type.
virtual sec_vd * clone() const
Make a new handle, no state instance of current.
An abstract client handle for a member of a poset.
Namespace for the fiber_bundles component of the sheaf system.
void tensor(const S0 &x0, const S1 &x1, SR &xresult, bool xauto_access)
A section of a bundle with fiber type tp.
A handle for a poset whose members are numerical representations of sections of a fiber bundle...