SheafSystem
0.0.0.0
|
Euclidean vector space of dimension 3 (volatile version). More...
#include <e3.h>
EUCLIDEAN VECTOR ALGEBRA (E3) FACET OF CLASS E3_LITE | |
typedef e3_row_dofs_type< double > | row_dofs_type |
The type of the row dofs. More... | |
row_dofs_type | _row_dofs |
Row_dofs_type. More... | |
e3_lite () | |
Default constructor. More... | |
e3_lite (const e3_lite &xother) | |
Copy constructor. More... | |
e3_lite & | operator= (const e3_lite &xother) |
Copy assignment operator. More... | |
virtual | ~e3_lite () |
Destructor. More... | |
e3_lite (const row_dofs_type &xrow_dofs) | |
Creates a new instance with row dofs xrow_dofs. More... | |
e3_lite & | operator= (const row_dofs_type &xrow_dofs) |
Row_dofs_type assignment operator. More... | |
e3_lite (const value_type &xvalue) | |
Creates a new instance with all components == x value. More... | |
e3_lite (const value_type &x_comp, const value_type &y_comp, const value_type &z_comp) | |
Creates a new instance with components x_comp, y_comp, z_comp. More... | |
operator row_dofs_type & () | |
Conversion (cast) operator to convert to the associated row dofs type (non const version). More... | |
operator const row_dofs_type & () const | |
Conversion (cast) operator to convert to the associated row dofs type (const version). More... | |
virtual void | put_components (const value_type &x_comp, const value_type &y_comp, const value_type &z_comp) |
Set values of the components to the given arguments. More... | |
TENSOR ALGEBRA (TP) FACET OF CLASS E3_LITE | |
typedef e3_lite | vector_space_type |
Type of underlying vector space. More... | |
virtual int | dd () const |
Dimension of the underlying vector space. More... | |
VECTOR ALGEBRA (VD) FACET OF CLASS E3_LITE | |
bool | operator== (const e3_lite &xother) const |
True if this has the same components as xother. More... | |
e3_lite & | operator= (const value_type &xvalue) |
Value_type assignment operator; sets all components to xvalue. More... | |
bool | operator== (const value_type &xvalue) const |
Equality comparison to scalar; true if and only if all components == xvalue. Especially useful for comparison to 0.0. More... | |
virtual const tp_lite & | tp_prototype (int xp) const |
Prototype for general tensors of degree xp over this vector space. More... | |
virtual const atp_lite & | atp_prototype (int xp) const |
Prototype for antisymmetric tensors of degree xp over this vector space. More... | |
virtual const stp_lite & | stp_prototype (int xp) const |
Prototype for symmetric tensors of degree xp over this vector space. More... | |
static const tp_lite & | static_tp_prototype (int xp) |
Static prototype for general tensors of degree xp over this vector space. More... | |
static const atp_lite & | static_atp_prototype (int xp) |
Static prototype for antisymmetric tensors of degree xp over this vector space. More... | |
static const stp_lite & | static_stp_prototype (int xp) |
Static prototype for symmetric tensors of degree xp over this vector space. More... | |
CARTESIAN ALGEBRA (TUPLE) FACET OF CLASS E3_LITE | |
bool | c_lt (const e3_lite &xother) const |
Cartesian order less than comparison. More... | |
bool | c_le (const e3_lite &xother) const |
Cartesian order less than or equal comparison. More... | |
bool | c_gt (const e3_lite &xother) const |
Cartesian order greater than comparison. More... | |
bool | c_ge (const e3_lite &xother) const |
Cartesian order greater than or equal comparison. More... | |
bool | d_lt (const e3_lite &xother) const |
Dictionary (lexicographic) order less than comparison. More... | |
bool | d_le (const e3_lite &xother) const |
Dictionary (lexicographic) order less than or equal comparison. More... | |
bool | d_gt (const e3_lite &xother) const |
Dictionary (lexicographic) order greater than comparison. More... | |
bool | d_ge (const e3_lite &xother) const |
Dictionary (lexicographic) order greater than or equal comparison. More... | |
ABSTRACT POSET MEMBER FACET OF CLASS E3_LITE | |
virtual const std::string & | class_name () const |
The name of this class. More... | |
virtual e3_lite * | clone () const |
Virtual constructor, makes a new instance of the same type as this. More... | |
virtual 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. More... | |
static const std::string & | static_class_name () |
The name of this class. More... | |
ANY FACET OF CLASS E3_LITE | |
virtual bool | is_ancestor_of (const any_lite &xother) const |
Conformance test; true if other conforms to this. More... | |
bool | invariant () const |
Class invariant. More... | |
virtual void * | row_dofs () |
The row dofs for this instance (mutable version). More... | |
virtual const void * | row_dofs () const |
The row dofs for this instance (const version). More... | |
Additional Inherited Members | |
Public Types inherited from fiber_bundle::at1_lite | |
enum | static_const_int { P = 1 } |
The tensor degree (static version) More... | |
Public Types inherited from fiber_bundle::tp_lite | |
enum | static_const_int { P = -1 } |
The degree of this tensor space. More... | |
typedef tp_table_dofs_type | table_dofs_type |
The type of the table dofs. More... | |
typedef vd_lite | vector_space_type |
Type of underlying vector space. More... | |
Public Types inherited from fiber_bundle::vd_lite | |
typedef vd_dof_type | dof_type |
The type of the degrees of freedom. More... | |
typedef vd_value_type | value_type |
The type of component in the fiber; the scalar type in the fiber vector space. More... | |
typedef vd_table_dofs_type | table_dofs_type |
The type of the table dofs. More... | |
typedef vd_row_dofs_type< double > | row_dofs_type |
The type of the row dofs. More... | |
Public Types inherited from fiber_bundle::tuple_lite | |
typedef tuple_table_dofs_type | table_dofs_type |
The type of the table dofs. More... | |
Public Types inherited from fiber_bundle::any_lite | |
typedef any_lite | volatile_type |
The associated volatile type. More... | |
Public Member Functions inherited from fiber_bundle::ed_lite | |
ed_lite () | |
Default constructor. More... | |
ed_lite (const ed_lite &xother) | |
Copy constructor. More... | |
ed_lite & | operator= (const ed_lite &xother) |
Assignment operator. More... | |
virtual | ~ed_lite () |
Destructor. More... | |
ed_lite (const row_dofs_type &xrow_dofs) | |
Creates a new instance with row dofs xrow_dofs. More... | |
ed_lite & | operator= (const row_dofs_type &xrow_dofs) |
Assignment (from row_dofs_type) operator. More... | |
bool | invariant () const |
Class invariant. More... | |
Public Member Functions inherited from fiber_bundle::at1_lite | |
at1_lite () | |
Default constructor. More... | |
at1_lite (const at1_lite &xother) | |
Copy constructor. More... | |
at1_lite & | operator= (const at1_lite &xother) |
Assignment operator. More... | |
virtual | ~at1_lite () |
Destructor. More... | |
at1_lite (const row_dofs_type &xrow_dofs) | |
Creates a new instance with row dofs xrow_dofs. More... | |
at1_lite & | operator= (const row_dofs_type &xrow_dofs) |
Assignment (from row_dofs_type) operator. More... | |
virtual int | p () const |
Degree of this as an antisymmetric tensor space. More... | |
bool | invariant () const |
Class invariant. More... | |
Public Member Functions inherited from fiber_bundle::atp_lite | |
atp_lite () | |
Default constructor. More... | |
atp_lite (const atp_lite &xother) | |
Copy constructor. More... | |
atp_lite & | operator= (const atp_lite &xother) |
Assignment operator. More... | |
virtual | ~atp_lite () |
Destructor. More... | |
atp_lite (const row_dofs_type &xrow_dofs) | |
Creates a new instance with row dofs xrow_dofs. More... | |
atp_lite & | operator= (const row_dofs_type &xrow_dofs) |
Assignment (from row_dofs_type) operator. More... | |
virtual int | d () const |
Dimension of this as a vector space. More... | |
bool | invariant () const |
Class invariant. More... | |
Public Member Functions inherited from fiber_bundle::tp_lite | |
tp_lite () | |
Default constructor. More... | |
tp_lite (const tp_lite &xother) | |
Copy constructor. More... | |
tp_lite & | operator= (const tp_lite &xother) |
Assignment operator. More... | |
virtual | ~tp_lite () |
Destructor. More... | |
tp_lite (const row_dofs_type &xrow_dofs) | |
Creates a new instance with row dofs xrow_dofs. More... | |
tp_lite & | operator= (const row_dofs_type &xrow_dofs) |
Assignment (from row_dofs_type) operator. More... | |
virtual pod_index_type | vector_space_index () const |
Index of the underlying vector space. More... | |
table_dofs_type | table_dofs () const |
The table dofs. More... | |
bool | invariant () const |
Class invariant. More... | |
Public Member Functions inherited from fiber_bundle::vd_lite | |
vd_lite () | |
Default constructor. More... | |
vd_lite (const vd_lite &xother) | |
Copy constructor. More... | |
vd_lite & | operator= (const vd_lite &xother) |
Copy assignment operator. More... | |
bool | operator== (const vd_lite &xother) const |
True if this has the same components as xother. More... | |
virtual | ~vd_lite () |
Destructor. More... | |
vd_lite (const row_dofs_type &xrow_dofs) | |
Creates a new instance with row dofs xrow_dofs. More... | |
vd_lite & | operator= (const row_dofs_type &xrow_dofs) |
Row_dofs_type assignment operator. More... | |
value_type | component (int xindex) const |
The xindex-th component. More... | |
void | put_component (int xindex, value_type xcomp) |
Set the xindex-th component to xcomp. More... | |
virtual void | components (dof_type xresult[], int comps_dimension) const |
The values of all the components (preallocated version). More... | |
virtual void | put_components (const dof_type xcomps[], int xcomps_dimension) |
Set values of all the components to the values in xcomps. More... | |
vd_lite & | operator= (const value_type &xvalue) |
Value_type assignment operator; sets all components to xvalue. More... | |
bool | operator== (const value_type &xvalue) const |
Equality comparison to scalar; true if and only if all components == xvalue. Especially useful for comparison to 0.0. More... | |
virtual value_type & | operator[] (int xindex) |
The value of the component corresponding to xindex (non const version). More... | |
virtual const value_type & | operator[] (int xindex) const |
The value of the component corresponding to xindex (const version). More... | |
virtual int | factor_ct () const |
Number of factors (components) in tuple. More... | |
table_dofs_type | table_dofs () const |
The table dofs. More... | |
bool | invariant () const |
Class invariant. More... | |
Public Member Functions inherited from fiber_bundle::tuple_lite | |
tuple_lite () | |
Default constructor. More... | |
tuple_lite (const tuple_lite &xother) | |
Copy constructor. More... | |
tuple_lite & | operator= (const tuple_lite &xother) |
Assignment operator. More... | |
virtual | ~tuple_lite () |
Destructor. More... | |
table_dofs_type | table_dofs () const |
The table dofs. More... | |
bool | invariant () const |
Class invariant. More... | |
Public Member Functions inherited from fiber_bundle::any_lite | |
virtual | ~any_lite () |
Destructor. More... | |
bool | is_same_type (const any_lite &xother) const |
True if other is the same type as this. More... | |
bool | invariant () const |
Class invariant, intended to be redefined in each descendant. More... | |
bool | invariant_check () const |
True if invariant checking is enabled. More... | |
void | enable_invariant_check () const |
Enable invariant checking. More... | |
void | disable_invariant_check () const |
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
int | disable_invariance_check_request_depth () const |
Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Static Public Member Functions inherited from fiber_bundle::ed_lite | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::at1_lite | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::atp_lite | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::tp_lite | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::vd_lite | |
static const tp_lite & | static_tp_prototype (int xp) |
Static prototype for general tensors of degree xp over this vector space. More... | |
static const atp_lite & | static_atp_prototype (int xp) |
Static prototype for antisymmetric tensors of degree xp over this vector space. More... | |
static const stp_lite & | static_stp_prototype (int xp) |
Static prototype for symmetric tensors of degree xp over this vector space. More... | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::tuple_lite | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::any_lite | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Protected Member Functions inherited from fiber_bundle::any_lite | |
any_lite () | |
Default constructor. More... | |
typedef e3_row_dofs_type<double> fiber_bundle::e3_lite::row_dofs_type |
fiber_bundle::e3_lite::e3_lite | ( | ) |
Default constructor.
Definition at line 58 of file e3.cc.
Referenced by e3_lite(), operator=(), and ~e3_lite().
fiber_bundle::e3_lite::e3_lite | ( | const e3_lite & | xother | ) |
|
virtual |
fiber_bundle::e3_lite::e3_lite | ( | const row_dofs_type & | xrow_dofs | ) |
Creates a new instance with row dofs xrow_dofs.
Definition at line 126 of file e3.cc.
References operator=().
|
explicit |
Creates a new instance with all components == x value.
Definition at line 162 of file e3.cc.
References e3_lite(), and sheaf::isunordered_or_equals().
fiber_bundle::e3_lite::e3_lite | ( | const value_type & | x_comp, |
const value_type & | y_comp, | ||
const value_type & | z_comp | ||
) |
Creates a new instance with components x_comp, y_comp, z_comp.
Definition at line 183 of file e3.cc.
References sheaf::isunordered_or_equals().
|
virtual |
Prototype for antisymmetric tensors of degree xp over this vector space.
Reimplemented from fiber_bundle::vd_lite.
Definition at line 535 of file e3.cc.
References static_stp_prototype().
Referenced by static_atp_prototype().
bool fiber_bundle::e3_lite::c_ge | ( | const e3_lite & | xother | ) | const |
Cartesian order greater than or equal comparison.
Definition at line 712 of file e3.cc.
References _row_dofs, fiber_bundle::e3_row_dofs_type< T >::components, and d_lt().
Referenced by c_gt().
bool fiber_bundle::e3_lite::c_gt | ( | const e3_lite & | xother | ) | const |
bool fiber_bundle::e3_lite::c_le | ( | const e3_lite & | xother | ) | const |
bool fiber_bundle::e3_lite::c_lt | ( | const e3_lite & | xother | ) | const |
Cartesian order less than comparison.
Definition at line 631 of file e3.cc.
References _row_dofs, c_le(), and fiber_bundle::e3_row_dofs_type< T >::components.
Referenced by stp_prototype().
|
virtual |
The name of this class.
Reimplemented from fiber_bundle::ed_lite.
Definition at line 953 of file e3.cc.
References static_class_name().
Referenced by d_ge().
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from fiber_bundle::ed_lite.
Definition at line 991 of file e3.cc.
Referenced by fiber_bundle::e3_algebra::cross(), and static_class_name().
|
inlinevirtual |
Virtual constructor, makes a new instance of the same type as this; synonym for clone(), intended for use only in certain templates.
Definition at line 411 of file e3.h.
References fiber_bundle::e3_row_dofs_type< T >::clone(), and sheaf::row_dofs().
bool fiber_bundle::e3_lite::d_ge | ( | const e3_lite & | xother | ) | const |
Dictionary (lexicographic) order greater than or equal comparison.
Definition at line 887 of file e3.cc.
References _row_dofs, class_name(), and fiber_bundle::e3_row_dofs_type< T >::components.
Referenced by d_gt().
bool fiber_bundle::e3_lite::d_gt | ( | const e3_lite & | xother | ) | const |
bool fiber_bundle::e3_lite::d_le | ( | const e3_lite & | xother | ) | const |
bool fiber_bundle::e3_lite::d_lt | ( | const e3_lite & | xother | ) | const |
|
virtual |
Dimension of the underlying vector space.
Reimplemented from fiber_bundle::tp_lite.
Definition at line 313 of file e3.cc.
References operator==().
Referenced by put_components().
bool fiber_bundle::e3_lite::invariant | ( | ) | const |
Class invariant.
Definition at line 1043 of file e3.cc.
References row_dofs().
Referenced by is_ancestor_of().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from fiber_bundle::ed_lite.
Definition at line 1024 of file e3.cc.
References invariant().
fiber_bundle::e3_lite::operator const e3_lite::row_dofs_type & | ( | ) | const |
Conversion (cast) operator to convert to the associated row dofs type (const version).
Definition at line 222 of file e3.cc.
References put_components().
fiber_bundle::e3_lite::operator e3_lite::row_dofs_type & | ( | ) |
Conversion (cast) operator to convert to the associated row dofs type (non const version).
fiber_bundle::e3_lite & fiber_bundle::e3_lite::operator= | ( | const e3_lite & | xother | ) |
Copy assignment operator.
Definition at line 90 of file e3.cc.
References _row_dofs, and ~e3_lite().
Referenced by e3_lite(), and operator==().
fiber_bundle::e3_lite & fiber_bundle::e3_lite::operator= | ( | const row_dofs_type & | xrow_dofs | ) |
Row_dofs_type assignment operator.
Definition at line 141 of file e3.cc.
References e3_lite(), and sheaf::row_dofs().
fiber_bundle::e3_lite & fiber_bundle::e3_lite::operator= | ( | const value_type & | xvalue | ) |
Value_type assignment operator; sets all components to xvalue.
Definition at line 368 of file e3.cc.
References fiber_bundle::vd_lite::components(), and operator==().
bool fiber_bundle::e3_lite::operator== | ( | const e3_lite & | xother | ) | const |
True if this has the same components as xother.
Definition at line 344 of file e3.cc.
References _row_dofs, fiber_bundle::e3_row_dofs_type< T >::components, and operator=().
Referenced by dd(), and operator=().
bool fiber_bundle::e3_lite::operator== | ( | const value_type & | xvalue | ) | const |
Equality comparison to scalar; true if and only if all components == xvalue. Especially useful for comparison to 0.0.
Definition at line 391 of file e3.cc.
References static_tp_prototype().
|
virtual |
Set values of the components to the given arguments.
Definition at line 241 of file e3.cc.
References dd(), and sheaf::isunordered_or_equals().
Referenced by operator const row_dofs_type &().
|
virtual |
The row dofs for this instance (mutable version).
Reimplemented from fiber_bundle::any_lite.
Definition at line 1071 of file e3.cc.
Referenced by invariant().
|
virtual |
The row dofs for this instance (const version).
Reimplemented from fiber_bundle::any_lite.
Definition at line 1078 of file e3.cc.
References fiber_bundle::e3::standard_schema_path().
|
static |
Static prototype for antisymmetric tensors of degree xp over this vector space.
Definition at line 488 of file e3.cc.
References atp_prototype().
Referenced by tp_prototype().
|
static |
The name of this class.
Definition at line 972 of file e3.cc.
References clone().
Referenced by class_name().
|
static |
Static prototype for symmetric tensors of degree xp over this vector space.
Definition at line 556 of file e3.cc.
References stp_prototype().
Referenced by atp_prototype().
|
static |
Static prototype for general tensors of degree xp over this vector space.
Definition at line 415 of file e3.cc.
References tp_prototype().
Referenced by operator==().
|
virtual |
Prototype for symmetric tensors of degree xp over this vector space.
Reimplemented from fiber_bundle::vd_lite.
Definition at line 598 of file e3.cc.
References c_lt().
Referenced by static_stp_prototype().
|
virtual |
Prototype for general tensors of degree xp over this vector space.
Reimplemented from fiber_bundle::vd_lite.
Definition at line 467 of file e3.cc.
References static_atp_prototype().
Referenced by static_tp_prototype().
|
protected |