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

Row dofs type for class gl3. More...

#include <gl3.h>

Public Types

typedef T dof_type
 The type of the dofs. More...
 
typedef gl3_row_dofs_type< T > row_dofs_type
 The type of the row dofs (type of this). More...
 
typedef general_matrix_3x3< 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 gl3_row_dofs_type< T >::matrix_type & ()
 Conversion (cast) operator to convert to the associated basis transformation matrixmatrix type (non const version). More...
 
 operator const typename gl3_row_dofs_type< T >::matrix_type & () const
 Conversion (cast) operator to convert to the associated basis transformation matrixmatrix type const version). More...
 
matrix_typebasis_matrix ()
 The associated basis transformation matrix (non const version). More...
 
const matrix_typebasis_matrix () const
 The associated basis transformation matrix (const version). More...
 
matrix_typecomponent_matrix ()
 The associated component transformation matrix (non const version). More...
 
const matrix_typecomponent_matrix () const
 The associated component transformation matrix (const version). More...
 
gl3_row_dofs_type< T > * clone () const
 Creates a new instance of the same type as this. More...
 
gl3_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 [18]
 The dofs in the following order: More...
 

Detailed Description

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

Row dofs type for class gl3.

Definition at line 50 of file gl3.h.

Member Typedef Documentation

◆ dof_type

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

The type of the dofs.

Definition at line 57 of file gl3.h.

◆ matrix_type

template<typename T>
typedef general_matrix_3x3<T> fiber_bundle::gl3_row_dofs_type< T >::matrix_type

The type of the associated matrix.

Definition at line 67 of file gl3.h.

◆ row_dofs_type

template<typename T>
typedef gl3_row_dofs_type<T> fiber_bundle::gl3_row_dofs_type< T >::row_dofs_type

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

Definition at line 62 of file gl3.h.

Member Function Documentation

◆ basis_matrix() [1/2]

◆ basis_matrix() [2/2]

template<typename T >
const gl3_row_dofs_type< T >::matrix_type & fiber_bundle::gl3_row_dofs_type< T >::basis_matrix ( ) const

The associated basis transformation matrix (const version).

Definition at line 179 of file gl3.impl.h.

◆ clone() [1/2]

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

Creates a new instance of the same type as this.

Postcondition
  • result != 0

Definition at line 239 of file gl3.impl.h.

Referenced by fiber_bundle::gl3_row_dofs_type< double >::clone(), and fiber_bundle::gl3_lite::clone().

◆ clone() [2/2]

template<typename T>
gl3_row_dofs_type<T>* fiber_bundle::gl3_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 132 of file gl3.h.

◆ component_matrix() [1/2]

template<typename T >
gl3_row_dofs_type< T >::matrix_type & fiber_bundle::gl3_row_dofs_type< T >::component_matrix ( )

◆ component_matrix() [2/2]

template<typename T >
const gl3_row_dofs_type< T >::matrix_type & fiber_bundle::gl3_row_dofs_type< T >::component_matrix ( ) const

The associated component transformation matrix (const version).

Definition at line 219 of file gl3.impl.h.

◆ d()

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

The dimension of the row dof components.

Postcondition
  • result == 18

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

Referenced by fiber_bundle::operator<<(), fiber_bundle::gl3::put_matrix(), and fiber_bundle::gl3_row_dofs_type< double >::static_class_name().

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

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

Conversion (cast) operator to convert to the associated basis transformation matrixmatrix type const version).

Definition at line 142 of file gl3.impl.h.

References fiber_bundle::gl3_row_dofs_type< T >::basis_matrix().

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

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

Conversion (cast) operator to convert to the associated basis transformation matrixmatrix type (non const version).

Definition at line 125 of file gl3.impl.h.

◆ operator[]() [1/2]

template<typename T >
T & fiber_bundle::gl3_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 gl3.impl.h.

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

◆ operator[]() [2/2]

template<typename T >
const T & fiber_bundle::gl3_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 104 of file gl3.impl.h.

◆ static_class_name()

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

The name of this class.

Postcondition
  • !result.empty()

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

Member Data Documentation

◆ components

template<typename T>
T fiber_bundle::gl3_row_dofs_type< T >::components[18]

The dofs in the following order:

Basis transformation matrix elements:

components[0] => bxx components[1] => bxy components[2] => bxz components[3] => byx components[4] => byy components[5] => byz components[6] => bzx components[7] => bzy components[8] => bzz

Component transformation matrix elements:

components[ 9] => cxx components[10] => cxy components[11] => cxz components[12] => cyx components[13] => cyy components[14] => cyz components[15] => czx components[16] => czy components[17] => czz

Definition at line 164 of file gl3.h.

Referenced by fiber_bundle::gl3_lite::get_matrix(), fiber_bundle::gl3::operator=(), fiber_bundle::gl3_lite::put_matrix(), and fiber_bundle::gl3::put_matrix().


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