SheafSystem  0.0.0.0
tp.h File Reference

Interface for class tp. More...

#include "SheafSystem/sheaf_dll_spec.h"
#include "SheafSystem/vd.h"
#include "SheafSystem/tensor_variance.h"
#include "SheafSystem/tp_table_dofs_type.h"

Go to the source code of this file.

Classes

class  fiber_bundle::tp_lite
 A general tensor of degree p over an abstract vector space (volatile version). Volatile version does not support tensor type ("variance"); see further comments in class tp. More...
 
class  fiber_bundle::tp
 A general tensor of "degree" p and given "variance" over an abstract vector space. More...
 

Namespaces

 fiber_bundle
 Namespace for the fiber_bundles component of the sheaf system.
 
 fiber_bundle::tp_algebra
 Namespace containing the general tensor algrebra functions for the fiber_bundles component of the sheaf system.
 

Functions

SHEAF_DLL_SPEC std::ostream & fiber_bundle::operator<< (std::ostream &xos, tp_lite::table_dofs_type &xt)
 Insert tp_lite::table_dofs_type& xt into ostream& xos. More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::contract (const tp_lite &x0, int xp, int xq, tp_lite &xresult)
 Contraction on contravariant index xp and covariant index xq (pre-allocated version for volatile types). The arguments xp and xq are indices into the "variance type" bitset. This implies that xp != xq. More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::contract (const tp &x0, int xp, int xq, tp &xresult, bool xauto_access)
 Contraction on contravariant index xp and covariant index xq (pre-allocated, access control version for persistent types). The arguments xp and xq are indices into the "variance type" bitset. This implies that xp != xq. More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::alt (const tp_lite &x0, tp_lite &xresult)
 The alternating (antisymmetric) part of tensor x0 (pre-allocated version for volatile types). More...
 
template<typename T0 >
tensor_traits< T0::P, typename T0::vector_space_type >::atp_type * fiber_bundle::tp_algebra::alt (const T0 &x0)
 The alternating (antisymmetric) part of tensor x0 (auto-allocated version for volatile types). More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::alt (const tp &x0, tp &xresult, bool xauto_access)
 The alternating (antisymmetric) part of tensor x0 (pre-allocated, access control version for persistent types). More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::sym (const tp_lite &x0, tp_lite &xresult)
 The symmetric part of tensor x0 (pre-allocated version for volatile types). More...
 
template<typename T0 >
tensor_traits< T0::P, typename T0::vector_space_type >::stp_type * fiber_bundle::tp_algebra::sym (const T0 &x0)
 The symmetric part of tensor x0 (auto-allocated version for volatile types). More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::sym (const tp &x0, tp &xresult, bool xauto_access)
 The symmetric part of tensor x0 (pre-allocated, access control version for persistent types). More...
 
template<typename T0 >
tensor_traits< T0::P, typename T0::vector_space_type >::stp_type * fiber_bundle::tp_algebra::sym (const T0 &x0, bool xauto_access)
 The symmetric part of tensor x0 (auto-allocated version for persistent types). More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::tensor (const tp_lite &x0, const tp_lite &x1, tp_lite &xresult)
 Tensor product (pre-allocated version for volatile types). More...
 
SHEAF_DLL_SPEC void fiber_bundle::tp_algebra::tensor (const tp &x0, const tp &x1, tp &xresult, bool xauto_access)
 Tensor product (pre-allocated, access control version for persistent types). More...
 
template<typename T0 , typename T1 >
tensor_traits< T0::P+T1::P, typename T0::vector_space_type >::tp_type * fiber_bundle::tp_algebra::tensor (const T0 &x0, const T1 &x1)
 Tensor product (auto-allocated version for volatile types). More...
 
template<typename T0 , typename T1 >
tensor_traits< T0::P+T1::P, typename T0::vector_space_type >::tp_type * fiber_bundle::tp_algebra::tensor (const T0 &x0, const T1 &x1, bool xauto_access)
 Tensor product (auto-allocated version for persistent types). More...
 

Detailed Description

Interface for class tp.

Definition in file tp.h.