SheafSystem  0.0.0.0
fiber_bundle::jcb_e23_lite Class Reference

Jacobian of a map from a 2 dimensional domain (u, v) to a 3 dimensional Euclidean space (x, y, z) (volatile version). More...

#include <jcb_e23.h>

Inheritance diagram for fiber_bundle::jcb_e23_lite:
fiber_bundle::jcb_ed_lite fiber_bundle::jcb_lite fiber_bundle::vd_lite fiber_bundle::tuple_lite fiber_bundle::any_lite

JCB_E23 FACET OF CLASS JCB_E23_LITE

typedef jcb_e23_row_dofs_type< double > row_dofs_type
 The type of the row dofs. More...
 
typedef jcb_e23_row_dofs_type< double >::matrix_type matrix_type
 The type of the associated matrix. More...
 
row_dofs_type _row_dofs
 Row_dofs_type. More...
 
 jcb_e23_lite ()
 Default constructor. More...
 
 jcb_e23_lite (const jcb_e23_lite &xother)
 Copy constructor. More...
 
jcb_e23_liteoperator= (const jcb_e23_lite &xother)
 Assignment operator. More...
 
virtual ~jcb_e23_lite ()
 Destructor. More...
 
 jcb_e23_lite (const row_dofs_type &xrow_dofs)
 Creates a new instance with row dofs xrow_dofs. More...
 
jcb_e23_liteoperator= (const row_dofs_type &xrow_dofs)
 Assignment (from a row dofs type) operator. More...
 
 jcb_e23_lite (const matrix_type &xmatrix)
 Creates a new instance with matrix type xmatrix. More...
 
jcb_e23_liteoperator= (const matrix_type &xmatrix)
 Assignment (from a matrix type) operator. More...
 
 operator matrix_type & ()
 Conversion (cast) operator to convert to the associated matrix type (non const version). More...
 
 operator const matrix_type & () const
 Conversion (cast) operator to convert to the associated matrix type (const version). 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...
 
 jcb_e23_lite (const value_type &dxdu, const value_type &dxdv, const value_type &dydu, const value_type &dydv, const value_type &dzdu, const value_type &dzdv)
 Creates a new instance with components dxdu, dxdv, dydu, dydv, dzdu, dzdv. More...
 
virtual void put_components (const value_type &dxdu, const value_type &dxdv, const value_type &dydu, const value_type &dydv, const value_type &dzdu, const value_type &dzdv)
 Set values of the components to the given arguments. More...
 

JACOBIAN (JCB) FACET OF CLASS JCB_E23_LITE

virtual int dd () const
 Dimension of the domain. More...
 
virtual int dr () const
 Dimension of the range. More...
 

ABSTRACT POSET MEMBER FACET OF CLASS JCB_E23_LITE

virtual const std::string & class_name () const
 The name of this class. More...
 
virtual jcb_e23_liteclone () const
 Virtual constructor, makes a new instance of the same type as this. More...
 
virtual jcb_e23_liteclone (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 JCB_E23_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::jcb_lite
typedef jcb_table_dofs_type table_dofs_type
 The type of the table dofs. 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::jcb_ed_lite
 jcb_ed_lite ()
 Default constructor. More...
 
 jcb_ed_lite (const jcb_ed_lite &xother)
 Copy constructor. More...
 
jcb_ed_liteoperator= (const jcb_ed_lite &xother)
 Assignment operator. More...
 
virtual ~jcb_ed_lite ()
 Destructor. More...
 
 jcb_ed_lite (const row_dofs_type &xrow_dofs)
 Creates a new instance with row dofs xrow_dofs. More...
 
jcb_ed_liteoperator= (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::jcb_lite
 jcb_lite ()
 Default constructor. More...
 
 jcb_lite (const jcb_lite &xother)
 Copy constructor. More...
 
jcb_liteoperator= (const jcb_lite &xother)
 Assignment operator. More...
 
virtual ~jcb_lite ()
 Destructor. More...
 
 jcb_lite (const row_dofs_type &xrow_dofs)
 Creates a new instance with row dofs xrow_dofs. More...
 
jcb_liteoperator= (const row_dofs_type &xrow_dofs)
 Assignment (from row_dofs_type) operator. More...
 
table_dofs_type table_dofs () const
 The table dofs. More...
 
value_type component (int xrow, int xcolumn) const
 The value of the component in a specified row and column (const version). More...
 
void put_component (int xrow, int xcolumn, value_type xcomp)
 Sets value of a component in a specified row and column. More...
 
virtual int index_for_row_column (int xrow, int xcolumn) const
 The index into linear storage of the component in a specified row and column. 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::vd_lite
 vd_lite ()
 Default constructor. More...
 
 vd_lite (const vd_lite &xother)
 Copy constructor. More...
 
vd_liteoperator= (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_liteoperator= (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_liteoperator= (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_typeoperator[] (int xindex)
 The value of the component corresponding to xindex (non const version). More...
 
virtual const value_typeoperator[] (int xindex) const
 The value of the component corresponding to xindex (const version). More...
 
virtual const tp_litetp_prototype (int xp) const
 Virtual constructor for general tensors of degree xp over this vector space. More...
 
virtual const atp_liteatp_prototype (int xp) const
 Prototype for antisymmetric tensors of degree xp over this vector space. More...
 
virtual const stp_litestp_prototype (int xp) const
 Prototype for symmetric tensors of degree xp over this vector space. 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_liteoperator= (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::jcb_ed_lite
static const std::string & static_class_name ()
 The name of this class. More...
 
- Static Public Member Functions inherited from fiber_bundle::jcb_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_litestatic_tp_prototype (int xp)
 Static prototype for general tensors of degree xp over this vector space. More...
 
static const atp_litestatic_atp_prototype (int xp)
 Static prototype for antisymmetric tensors of degree xp over this vector space. More...
 
static const stp_litestatic_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...
 

Detailed Description

Jacobian of a map from a 2 dimensional domain (u, v) to a 3 dimensional Euclidean space (x, y, z) (volatile version).

Definition at line 142 of file jcb_e23.h.

Member Typedef Documentation

◆ matrix_type

The type of the associated matrix.

Definition at line 161 of file jcb_e23.h.

◆ row_dofs_type

The type of the row dofs.

Definition at line 156 of file jcb_e23.h.

Constructor & Destructor Documentation

◆ jcb_e23_lite() [1/5]

fiber_bundle::jcb_e23_lite::jcb_e23_lite ( )

Default constructor.

Postcondition

Definition at line 48 of file jcb_e23.cc.

Referenced by jcb_e23_lite(), operator const matrix_type &(), and ~jcb_e23_lite().

◆ jcb_e23_lite() [2/5]

fiber_bundle::jcb_e23_lite::jcb_e23_lite ( const jcb_e23_lite xother)

Copy constructor.

Postcondition

Definition at line 63 of file jcb_e23.cc.

References operator=().

◆ ~jcb_e23_lite()

fiber_bundle::jcb_e23_lite::~jcb_e23_lite ( )
virtual

Destructor.

Definition at line 103 of file jcb_e23.cc.

References jcb_e23_lite().

Referenced by operator=().

◆ jcb_e23_lite() [3/5]

fiber_bundle::jcb_e23_lite::jcb_e23_lite ( const row_dofs_type xrow_dofs)

Creates a new instance with row dofs xrow_dofs.

Postcondition

Definition at line 117 of file jcb_e23.cc.

References jcb_e23_lite().

◆ jcb_e23_lite() [4/5]

fiber_bundle::jcb_e23_lite::jcb_e23_lite ( const matrix_type xmatrix)

Creates a new instance with matrix type xmatrix.

Postcondition

Definition at line 133 of file jcb_e23.cc.

References operator=().

◆ jcb_e23_lite() [5/5]

fiber_bundle::jcb_e23_lite::jcb_e23_lite ( const value_type dxdu,
const value_type dxdv,
const value_type dydu,
const value_type dydv,
const value_type dzdu,
const value_type dzdv 
)

Creates a new instance with components dxdu, dxdv, dydu, dydv, dzdu, dzdv.

Postcondition
  • isunordered_or_equals(component(0), dxdu)
  • isunordered_or_equals(component(1), dxdv)
  • isunordered_or_equals(component(2), dydu)
  • isunordered_or_equals(component(3), dydv)
  • isunordered_or_equals(component(4), dzdu)
  • isunordered_or_equals(component(5), dzdv)

Definition at line 255 of file jcb_e23.cc.

References sheaf::isunordered_or_equals(), and put_components().

Member Function Documentation

◆ class_name()

const std::string & fiber_bundle::jcb_e23_lite::class_name ( ) const
virtual

The name of this class.

Postcondition
  • !result.empty()

Reimplemented from fiber_bundle::jcb_ed_lite.

Definition at line 407 of file jcb_e23.cc.

References static_class_name().

Referenced by dr().

◆ clone() [1/2]

fiber_bundle::jcb_e23_lite * fiber_bundle::jcb_e23_lite::clone ( ) const
virtual

Virtual constructor, makes a new instance of the same type as this.

Postcondition
  • result != 0
  • is_same_type(*result)

Reimplemented from fiber_bundle::jcb_ed_lite.

Definition at line 445 of file jcb_e23.cc.

Referenced by static_class_name().

◆ clone() [2/2]

virtual jcb_e23_lite* fiber_bundle::jcb_e23_lite::clone ( bool  xnew_state,
bool  xauto_access 
) const
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 365 of file jcb_e23.h.

References fiber_bundle::jcb_e23_row_dofs_type< T >::clone(), and sheaf::row_dofs().

◆ dd()

int fiber_bundle::jcb_e23_lite::dd ( ) const
virtual

Dimension of the domain.

Postcondition
  • result == 2

Reimplemented from fiber_bundle::jcb_lite.

Definition at line 333 of file jcb_e23.cc.

References dr().

Referenced by fiber_bundle::jcb_algebra::pull(), fiber_bundle::jcb_algebra::push(), and put_components().

◆ dr()

int fiber_bundle::jcb_e23_lite::dr ( ) const
virtual

Dimension of the range.

Postcondition
  • result == 3

Reimplemented from fiber_bundle::jcb_lite.

Definition at line 353 of file jcb_e23.cc.

References class_name().

Referenced by dd(), fiber_bundle::jcb_algebra::pull(), and fiber_bundle::jcb_algebra::push().

◆ invariant()

bool fiber_bundle::jcb_e23_lite::invariant ( ) const

Class invariant.

Invariant

Definition at line 497 of file jcb_e23.cc.

References row_dofs().

Referenced by is_ancestor_of().

◆ is_ancestor_of()

bool fiber_bundle::jcb_e23_lite::is_ancestor_of ( const any_lite xother) const
virtual

Conformance test; true if other conforms to this.

Precondition
  • &xother != 0

Reimplemented from fiber_bundle::jcb_ed_lite.

Definition at line 478 of file jcb_e23.cc.

References invariant().

◆ operator const matrix_type &()

fiber_bundle::jcb_e23_lite::operator const jcb_e23_lite::matrix_type & ( ) const

Conversion (cast) operator to convert to the associated matrix type (const version).

Definition at line 239 of file jcb_e23.cc.

References jcb_e23_lite().

◆ operator const row_dofs_type &()

fiber_bundle::jcb_e23_lite::operator const jcb_e23_lite::row_dofs_type & ( ) const

Conversion (cast) operator to convert to the associated row dofs type (const version).

Definition at line 206 of file jcb_e23.cc.

◆ operator matrix_type &()

fiber_bundle::jcb_e23_lite::operator jcb_e23_lite::matrix_type & ( )

Conversion (cast) operator to convert to the associated matrix type (non const version).

Definition at line 222 of file jcb_e23.cc.

◆ operator row_dofs_type &()

fiber_bundle::jcb_e23_lite::operator jcb_e23_lite::row_dofs_type & ( )

Conversion (cast) operator to convert to the associated row dofs type (non const version).

Definition at line 190 of file jcb_e23.cc.

◆ operator=() [1/3]

fiber_bundle::jcb_e23_lite & fiber_bundle::jcb_e23_lite::operator= ( const jcb_e23_lite xother)

Assignment operator.

Postcondition
  • for(int i = ( 0 ); i < ( d() ); ++ i ) component(i) == xother[i]

Definition at line 80 of file jcb_e23.cc.

References _row_dofs, and ~jcb_e23_lite().

Referenced by jcb_e23_lite(), and operator=().

◆ operator=() [2/3]

fiber_bundle::jcb_e23_lite & fiber_bundle::jcb_e23_lite::operator= ( const row_dofs_type xrow_dofs)

Assignment (from a row dofs type) operator.

Postcondition

Definition at line 150 of file jcb_e23.cc.

References operator=().

◆ operator=() [3/3]

fiber_bundle::jcb_e23_lite & fiber_bundle::jcb_e23_lite::operator= ( const matrix_type xmatrix)

Assignment (from a matrix type) operator.

Postcondition

Definition at line 170 of file jcb_e23.cc.

◆ put_components()

void fiber_bundle::jcb_e23_lite::put_components ( const value_type dxdu,
const value_type dxdv,
const value_type dydu,
const value_type dydv,
const value_type dzdu,
const value_type dzdv 
)
virtual

Set values of the components to the given arguments.

Postcondition
  • isunordered_or_equals(component(0), dxdu)
  • isunordered_or_equals(component(1), dxdv)
  • isunordered_or_equals(component(2), dydu)
  • isunordered_or_equals(component(3), dydv)
  • isunordered_or_equals(component(4), dzdu)
  • isunordered_or_equals(component(5), dzdv)

Definition at line 280 of file jcb_e23.cc.

References dd(), and sheaf::isunordered_or_equals().

Referenced by jcb_e23_lite().

◆ row_dofs() [1/2]

void * fiber_bundle::jcb_e23_lite::row_dofs ( )
virtual

The row dofs for this instance (mutable version).

Reimplemented from fiber_bundle::any_lite.

Definition at line 525 of file jcb_e23.cc.

Referenced by invariant().

◆ row_dofs() [2/2]

const void * fiber_bundle::jcb_e23_lite::row_dofs ( ) const
virtual

The row dofs for this instance (const version).

Reimplemented from fiber_bundle::any_lite.

Definition at line 532 of file jcb_e23.cc.

References fiber_bundle::jcb_e23::standard_schema_path().

◆ static_class_name()

const std::string & fiber_bundle::jcb_e23_lite::static_class_name ( )
static

The name of this class.

Postcondition
  • !result.empty()

Definition at line 426 of file jcb_e23.cc.

References clone().

Referenced by class_name().

Member Data Documentation

◆ _row_dofs

row_dofs_type fiber_bundle::jcb_e23_lite::_row_dofs
protected

Row_dofs_type.

Definition at line 249 of file jcb_e23.h.

Referenced by operator=().


The documentation for this class was generated from the following files: