SheafSystem  0.0.0.0
fiber_bundle::jcb_e23_row_dofs_type< T > Class Template Reference

Row dofs type for class jcb_e23. More...

#include <jcb_e23.h>

Public Types

typedef T dof_type
 The type of the dofs. More...
 
typedef jcb_e23_row_dofs_type< T > row_dofs_type
 The type of the row dofs (type of this). More...
 
typedef general_matrix_3x2< T > matrix_type
 The type of the associated matrix. More...
 

Public Member Functions

T & operator[] (int xindex)
 Value of xindex-th component (row dof) (non const version). More...
 
const T & operator[] (int xindex) const
 Value of xindex-th component (row dof) (const version) More...
 
 operator typename jcb_e23_row_dofs_type< T >::matrix_type & ()
 Conversion (cast) operator to convert to the associated matrix type (non const version). More...
 
 operator const typename jcb_e23_row_dofs_type< T >::matrix_type & () const
 Conversion (cast) operator to convert to the associated matrix type (const version). More...
 
jcb_e23_row_dofs_type< T > * clone () const
 Creates a new instance of the same type as this. More...
 
jcb_e23_row_dofs_type< T > * 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 Public Member Functions

static const std::string & static_class_name ()
 The name of this class. More...
 
static int d ()
 The dimension of the row dof components. More...
 

Public Attributes

components [6]
 The dofs in the following order: components[0] => dx/du components[1] => dx/dv components[2] => dy/du components[3] => dy/dv components[4] => dz/du components[5] => dz/dv. More...
 

Detailed Description

template<typename T>
class fiber_bundle::jcb_e23_row_dofs_type< T >

Row dofs type for class jcb_e23.

Definition at line 49 of file jcb_e23.h.

Member Typedef Documentation

◆ dof_type

template<typename T>
typedef T fiber_bundle::jcb_e23_row_dofs_type< T >::dof_type

The type of the dofs.

Definition at line 56 of file jcb_e23.h.

◆ matrix_type

The type of the associated matrix.

Definition at line 66 of file jcb_e23.h.

◆ row_dofs_type

The type of the row dofs (type of this).

Definition at line 61 of file jcb_e23.h.

Member Function Documentation

◆ clone() [1/2]

template<typename T >
jcb_e23_row_dofs_type< T > * fiber_bundle::jcb_e23_row_dofs_type< T >::clone ( ) const

Creates a new instance of the same type as this.

Postcondition
  • result != 0

Definition at line 156 of file jcb_e23.impl.h.

Referenced by fiber_bundle::jcb_e23_row_dofs_type< double >::clone(), and fiber_bundle::jcb_e23_lite::clone().

◆ clone() [2/2]

template<typename T>
jcb_e23_row_dofs_type<T>* fiber_bundle::jcb_e23_row_dofs_type< T >::clone ( bool  xnew_state,
bool  xauto_access 
) const
inline

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 111 of file jcb_e23.h.

◆ d()

template<typename T >
int fiber_bundle::jcb_e23_row_dofs_type< T >::d ( )
static

The dimension of the row dof components.

Postcondition
  • result == 6

Definition at line 62 of file jcb_e23.impl.h.

Referenced by fiber_bundle::operator<<(), and fiber_bundle::jcb_e23_row_dofs_type< double >::static_class_name().

◆ operator const typename jcb_e23_row_dofs_type< T >::matrix_type &()

template<typename T >
fiber_bundle::jcb_e23_row_dofs_type< T >::operator const typename jcb_e23_row_dofs_type< T >::matrix_type & ( ) const

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

Definition at line 138 of file jcb_e23.impl.h.

◆ operator typename jcb_e23_row_dofs_type< T >::matrix_type &()

template<typename T >
fiber_bundle::jcb_e23_row_dofs_type< T >::operator typename jcb_e23_row_dofs_type< T >::matrix_type & ( )

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

Definition at line 121 of file jcb_e23.impl.h.

◆ operator[]() [1/2]

template<typename T >
T & fiber_bundle::jcb_e23_row_dofs_type< T >::operator[] ( int  xindex)

Value of xindex-th component (row dof) (non const version).

Postcondition
  • xindex>=0 && xindex<d()

Definition at line 82 of file jcb_e23.impl.h.

Referenced by fiber_bundle::jcb_e23_row_dofs_type< double >::d(), and fiber_bundle::jcb_e23_row_dofs_type< double >::operator[]().

◆ operator[]() [2/2]

template<typename T >
const T & fiber_bundle::jcb_e23_row_dofs_type< T >::operator[] ( int  xindex) const

Value of xindex-th component (row dof) (const version)

Postcondition
  • xindex>=0 && xindex<d()

Definition at line 102 of file jcb_e23.impl.h.

◆ static_class_name()

template<typename T >
const std::string & fiber_bundle::jcb_e23_row_dofs_type< T >::static_class_name ( )
static

The name of this class.

Postcondition
  • !result.empty()

Definition at line 42 of file jcb_e23.impl.h.

Member Data Documentation

◆ components

template<typename T>
T fiber_bundle::jcb_e23_row_dofs_type< T >::components[6]

The dofs in the following order: components[0] => dx/du components[1] => dx/dv components[2] => dy/du components[3] => dy/dv components[4] => dz/du components[5] => dz/dv.

Definition at line 125 of file jcb_e23.h.

Referenced by fiber_bundle::jcb_e23::operator=().


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