SheafSystem
0.0.0.0
|
Abstract vector space over dof_type (volatile version). More...
#include <vd.h>
VECTOR ALGEBRA (VD) FACET OF CLASS 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... | |
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... | |
virtual int | d () const |
Dimension of this as a vector space. 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 const tp_lite & | tp_prototype (int xp) const |
Virtual constructor 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 VD_LITE | |
virtual int | factor_ct () const |
Number of factors (components) in tuple. More... | |
ABSTRACT POSET MEMBER FACET | |
virtual const std::string & | class_name () const |
The name of this class. More... | |
virtual vd_lite * | clone () const |
Virtual constructor, makes a new instance of the same type as this. More... | |
table_dofs_type | table_dofs () const |
The table dofs. More... | |
static const std::string & | static_class_name () |
The name of this class. More... | |
ANY FACET OF CLASS VD_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... | |
Additional Inherited Members | |
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::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... | |
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... | |
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 vd_row_dofs_type<double> fiber_bundle::vd_lite::row_dofs_type |
fiber_bundle::vd_lite::vd_lite | ( | ) |
fiber_bundle::vd_lite::vd_lite | ( | const vd_lite & | xother | ) |
|
virtual |
fiber_bundle::vd_lite::vd_lite | ( | const row_dofs_type & | xrow_dofs | ) |
Creates a new instance with row dofs xrow_dofs.
Definition at line 146 of file vd.cc.
References operator=().
|
virtual |
Prototype for antisymmetric tensors of degree xp over this vector space.
Reimplemented in fiber_bundle::met_e3_lite, fiber_bundle::t2_e3_lite, fiber_bundle::met_e2_lite, fiber_bundle::t2_e2_lite, fiber_bundle::t4_e3_lite, fiber_bundle::st2_e3_lite, fiber_bundle::st2_e2_lite, fiber_bundle::at2_e3_lite, fiber_bundle::e3_lite, fiber_bundle::at0_lite, fiber_bundle::at2_e2_lite, fiber_bundle::t3_e3_lite, fiber_bundle::e4_lite, fiber_bundle::met_e1_lite, fiber_bundle::e1_lite, fiber_bundle::e2_lite, fiber_bundle::st4_e3_lite, fiber_bundle::t4_e2_lite, fiber_bundle::st4_e2_lite, fiber_bundle::at3_e3_lite, and fiber_bundle::st3_e3_lite.
Definition at line 459 of file vd.cc.
References static_stp_prototype().
Referenced by fiber_bundle::atp_algebra::hook(), static_atp_prototype(), and fiber_bundle::atp_algebra::wedge().
|
virtual |
The name of this class.
Reimplemented from fiber_bundle::tuple_lite.
Reimplemented in fiber_bundle::e3_lite, fiber_bundle::met_e3_lite, fiber_bundle::t2_e3_lite, fiber_bundle::met_e2_lite, fiber_bundle::t2_e2_lite, fiber_bundle::t4_e3_lite, fiber_bundle::st2_e3_lite, fiber_bundle::jcb_e33_lite, fiber_bundle::st2_e2_lite, fiber_bundle::jcb_e13_lite, fiber_bundle::at2_e3_lite, fiber_bundle::at0_lite, fiber_bundle::jcb_e23_lite, fiber_bundle::at2_e2_lite, fiber_bundle::e4_lite, fiber_bundle::e2_lite, fiber_bundle::t3_e3_lite, fiber_bundle::e1_lite, fiber_bundle::met_e1_lite, fiber_bundle::st4_e3_lite, fiber_bundle::t4_e2_lite, fiber_bundle::st4_e2_lite, fiber_bundle::at3_e3_lite, fiber_bundle::st3_e3_lite, fiber_bundle::st2_lite, fiber_bundle::at2_lite, fiber_bundle::tp_lite, fiber_bundle::at3_lite, fiber_bundle::st3_lite, fiber_bundle::st4_lite, fiber_bundle::jcb_lite, fiber_bundle::t2_lite, fiber_bundle::t4_lite, fiber_bundle::t3_lite, fiber_bundle::met_ed_lite, fiber_bundle::at1_lite, fiber_bundle::ed_lite, fiber_bundle::met_lite, fiber_bundle::atp_lite, fiber_bundle::stp_lite, and fiber_bundle::jcb_ed_lite.
Definition at line 564 of file vd.cc.
References static_class_name().
Referenced by factor_ct().
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from fiber_bundle::tuple_lite.
Reimplemented in fiber_bundle::e3_lite, fiber_bundle::met_e3_lite, fiber_bundle::t2_e3_lite, fiber_bundle::met_e2_lite, fiber_bundle::t2_e2_lite, fiber_bundle::t4_e3_lite, fiber_bundle::st2_e3_lite, fiber_bundle::jcb_e33_lite, fiber_bundle::st2_e2_lite, fiber_bundle::jcb_e13_lite, fiber_bundle::at2_e3_lite, fiber_bundle::at0_lite, fiber_bundle::jcb_e23_lite, fiber_bundle::at2_e2_lite, fiber_bundle::e4_lite, fiber_bundle::e2_lite, fiber_bundle::t3_e3_lite, fiber_bundle::e1_lite, fiber_bundle::met_e1_lite, fiber_bundle::st4_e3_lite, fiber_bundle::t4_e2_lite, fiber_bundle::st4_e2_lite, fiber_bundle::at3_e3_lite, fiber_bundle::st3_e3_lite, fiber_bundle::st2_lite, fiber_bundle::at2_lite, fiber_bundle::tp_lite, fiber_bundle::at3_lite, fiber_bundle::st3_lite, fiber_bundle::st4_lite, fiber_bundle::jcb_lite, fiber_bundle::t2_lite, fiber_bundle::t4_lite, fiber_bundle::t3_lite, fiber_bundle::met_ed_lite, fiber_bundle::at1_lite, fiber_bundle::ed_lite, fiber_bundle::met_lite, fiber_bundle::atp_lite, fiber_bundle::stp_lite, and fiber_bundle::jcb_ed_lite.
Definition at line 602 of file vd.cc.
References table_dofs().
Referenced by static_class_name().
fiber_bundle::vd_lite::value_type fiber_bundle::vd_lite::component | ( | int | xindex | ) | const |
The xindex-th component.
Definition at line 209 of file vd.cc.
References put_component(), and sheaf::row_dofs().
Referenced by fiber_bundle::vd_algebra::add(), fiber_bundle::vd_algebra::contract(), fiber_bundle::e3_algebra::cross(), d(), fiber_bundle::vd_algebra::divide(), fiber_bundle::ed_algebra::dot(), fiber_bundle::atp_algebra::hook(), fiber_bundle::ed_algebra::length(), fiber_bundle::met_algebra::lower(), fiber_bundle::vd_algebra::max(), fiber_bundle::vd_algebra::min(), fiber_bundle::vd_algebra::multiply(), fiber_bundle::ed_algebra::normalize(), fiber_bundle::operator<<(), operator=(), fiber_bundle::jcb_algebra::pull(), fiber_bundle::jcb_algebra::push(), fiber_bundle::ed_algebra::put_length(), fiber_bundle::met_algebra::raise(), fiber_bundle::atp_algebra::star(), fiber_bundle::vd_algebra::subtract(), fiber_bundle::tp_algebra::tensor(), and fiber_bundle::atp_algebra::wedge().
|
virtual |
The values of all the components (preallocated version).
Definition at line 252 of file vd.cc.
References put_components().
Referenced by fiber_bundle::e3_lite::operator=(), and put_component().
|
virtual |
Dimension of this as a vector space.
Reimplemented in fiber_bundle::tp_lite, fiber_bundle::jcb_lite, fiber_bundle::t2_lite, fiber_bundle::t3_lite, fiber_bundle::t4_lite, fiber_bundle::atp_lite, and fiber_bundle::stp_lite.
Definition at line 189 of file vd.cc.
References component().
Referenced by fiber_bundle::vd_algebra::a_eql(), fiber_bundle::vd_algebra::add(), fiber_bundle::vd_algebra::c_eql(), fiber_bundle::vd_algebra::contract(), fiber_bundle::vd_algebra::divide(), fiber_bundle::sec_vd::force_fiber(), fiber_bundle::sec_vd::get_fiber(), fiber_bundle::vd_algebra::max(), fiber_bundle::vd_algebra::min(), fiber_bundle::vd_algebra::multiply(), fiber_bundle::operator<<(), operator=(), fields::field_vd::property_at_coordinates(), fiber_bundle::sec_vd::put_fiber(), fiber_bundle::vd_algebra::r_eql(), and fiber_bundle::vd_algebra::subtract().
|
virtual |
Number of factors (components) in tuple.
Implements fiber_bundle::tuple_lite.
Definition at line 533 of file vd.cc.
References class_name().
Referenced by stp_prototype().
bool fiber_bundle::vd_lite::invariant | ( | ) | const |
Class invariant.
Definition at line 682 of file vd.cc.
References fiber_bundle::vd::standard_schema_path().
Referenced by is_ancestor_of().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from fiber_bundle::tuple_lite.
Reimplemented in fiber_bundle::e3_lite, fiber_bundle::met_e3_lite, fiber_bundle::t2_e3_lite, fiber_bundle::met_e2_lite, fiber_bundle::t2_e2_lite, fiber_bundle::t4_e3_lite, fiber_bundle::st2_e3_lite, fiber_bundle::jcb_e33_lite, fiber_bundle::st2_e2_lite, fiber_bundle::jcb_e13_lite, fiber_bundle::at2_e3_lite, fiber_bundle::at0_lite, fiber_bundle::jcb_e23_lite, fiber_bundle::at2_e2_lite, fiber_bundle::e4_lite, fiber_bundle::e2_lite, fiber_bundle::t3_e3_lite, fiber_bundle::e1_lite, fiber_bundle::met_e1_lite, fiber_bundle::st4_e3_lite, fiber_bundle::t4_e2_lite, fiber_bundle::st4_e2_lite, fiber_bundle::at3_e3_lite, fiber_bundle::st3_e3_lite, fiber_bundle::st2_lite, fiber_bundle::at2_lite, fiber_bundle::tp_lite, fiber_bundle::at3_lite, fiber_bundle::st3_lite, fiber_bundle::st4_lite, fiber_bundle::jcb_lite, fiber_bundle::t2_lite, fiber_bundle::t4_lite, fiber_bundle::t3_lite, fiber_bundle::met_ed_lite, fiber_bundle::at1_lite, fiber_bundle::ed_lite, fiber_bundle::met_lite, fiber_bundle::atp_lite, fiber_bundle::stp_lite, and fiber_bundle::jcb_ed_lite.
Definition at line 663 of file vd.cc.
References invariant().
Referenced by table_dofs().
fiber_bundle::vd_lite & fiber_bundle::vd_lite::operator= | ( | const vd_lite & | xother | ) |
Copy assignment operator.
Definition at line 82 of file vd.cc.
References component(), and operator==().
Referenced by put_components(), and vd_lite().
fiber_bundle::vd_lite & fiber_bundle::vd_lite::operator= | ( | const row_dofs_type & | xrow_dofs | ) |
fiber_bundle::vd_lite & fiber_bundle::vd_lite::operator= | ( | const value_type & | xvalue | ) |
Value_type assignment operator; sets all components to xvalue.
Definition at line 304 of file vd.cc.
References operator==().
bool fiber_bundle::vd_lite::operator== | ( | const vd_lite & | xother | ) | const |
True if this has the same components as xother.
Definition at line 105 of file vd.cc.
References ~vd_lite().
Referenced by operator=().
bool fiber_bundle::vd_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 329 of file vd.cc.
References operator[]().
|
virtual |
The value of the component corresponding to xindex (non const version).
Definition at line 359 of file vd.cc.
References sheaf::row_dofs().
Referenced by operator==().
|
virtual |
The value of the component corresponding to xindex (const version).
Definition at line 378 of file vd.cc.
References sheaf::row_dofs(), and static_tp_prototype().
void fiber_bundle::vd_lite::put_component | ( | int | xindex, |
value_type | xcomp | ||
) |
Set the xindex-th component to xcomp.
Definition at line 230 of file vd.cc.
References components(), sheaf::isunordered_or_equals(), and sheaf::row_dofs().
Referenced by fiber_bundle::vd_algebra::add(), component(), fiber_bundle::tp_algebra::contract(), fiber_bundle::e3_algebra::cross(), fiber_bundle::vd_algebra::divide(), fiber_bundle::atp_algebra::hook(), fiber_bundle::met_algebra::lower(), fiber_bundle::vd_algebra::multiply(), fiber_bundle::ed_algebra::normalize(), fiber_bundle::jcb_algebra::pull(), fiber_bundle::jcb_algebra::push(), fiber_bundle::ed_algebra::put_length(), fiber_bundle::met_algebra::raise(), fiber_bundle::atp_algebra::star(), and fiber_bundle::vd_algebra::subtract().
|
virtual |
Set values of all the components to the values in xcomps.
Definition at line 278 of file vd.cc.
References operator=().
Referenced by components(), fiber_bundle::sec_vd_algebra::extrema(), fiber_bundle::sec_vd_algebra::max(), and fiber_bundle::sec_vd_algebra::min().
|
static |
Static prototype for antisymmetric tensors of degree xp over this vector space.
Definition at line 439 of file vd.cc.
References atp_prototype().
Referenced by tp_prototype().
|
static |
The name of this class.
Definition at line 583 of file vd.cc.
References clone().
Referenced by class_name().
|
static |
Static prototype for symmetric tensors of degree xp over this vector space.
Definition at line 480 of file vd.cc.
References stp_prototype().
Referenced by atp_prototype().
|
static |
Static prototype for general tensors of degree xp over this vector space.
Definition at line 398 of file vd.cc.
References tp_prototype().
Referenced by operator[]().
|
virtual |
Prototype for symmetric tensors of degree xp over this vector space.
Reimplemented in fiber_bundle::met_e3_lite, fiber_bundle::t2_e3_lite, fiber_bundle::met_e2_lite, fiber_bundle::t2_e2_lite, fiber_bundle::t4_e3_lite, fiber_bundle::st2_e3_lite, fiber_bundle::st2_e2_lite, fiber_bundle::at2_e3_lite, fiber_bundle::e3_lite, fiber_bundle::at0_lite, fiber_bundle::at2_e2_lite, fiber_bundle::e4_lite, fiber_bundle::e1_lite, fiber_bundle::e2_lite, fiber_bundle::t3_e3_lite, fiber_bundle::met_e1_lite, fiber_bundle::st4_e3_lite, fiber_bundle::t4_e2_lite, fiber_bundle::st4_e2_lite, fiber_bundle::at3_e3_lite, and fiber_bundle::st3_e3_lite.
Definition at line 500 of file vd.cc.
References factor_ct().
Referenced by static_stp_prototype().
fiber_bundle::vd_lite::table_dofs_type fiber_bundle::vd_lite::table_dofs | ( | ) | const |
The table dofs.
Definition at line 624 of file vd.cc.
References fiber_bundle::tuple_table_dofs_type::factor_ct, and is_ancestor_of().
Referenced by clone().
|
virtual |
Virtual constructor for general tensors of degree xp over this vector space.
Reimplemented in fiber_bundle::met_e3_lite, fiber_bundle::t2_e3_lite, fiber_bundle::met_e2_lite, fiber_bundle::t2_e2_lite, fiber_bundle::t4_e3_lite, fiber_bundle::st2_e3_lite, fiber_bundle::st2_e2_lite, fiber_bundle::at2_e3_lite, fiber_bundle::at2_e2_lite, fiber_bundle::e3_lite, fiber_bundle::at0_lite, fiber_bundle::t3_e3_lite, fiber_bundle::met_e1_lite, fiber_bundle::e4_lite, fiber_bundle::e1_lite, fiber_bundle::e2_lite, fiber_bundle::st4_e3_lite, fiber_bundle::t4_e2_lite, fiber_bundle::st4_e2_lite, fiber_bundle::at3_e3_lite, and fiber_bundle::st3_e3_lite.
Definition at line 418 of file vd.cc.
References static_atp_prototype().
Referenced by static_tp_prototype().