SheafSystem  0.0.0.0
fiber_bundle::gln_lite Class Reference

The mathematical group GL(n, R). GL(n,R) is the group of general, invertible, linear transformations on a vector space of dimension n over the reals R (volatile version). More...

#include <gln.h>

Inheritance diagram for fiber_bundle::gln_lite:
fiber_bundle::group_lite fiber_bundle::any_lite fiber_bundle::gl2_lite fiber_bundle::gl3_lite

GLN FACET OF CLASS GLN_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 gln_table_dofs_type table_dofs_type
 The type of the table dofs. More...
 
typedef gln_row_dofs_type< double > row_dofs_type
 The type of the row dofs. More...
 
 gln_lite ()
 Default constructor. More...
 
 gln_lite (const gln_lite &xother)
 Copy constructor. More...
 
gln_liteoperator= (const gln_lite &xother)
 Assignment operator. More...
 
virtual ~gln_lite ()
 Destructor. More...
 
 gln_lite (const row_dofs_type &xrow_dofs)
 Creates a new instance with row dofs xrow_dofs. More...
 
gln_liteoperator= (const row_dofs_type &xrow_dofs)
 Assignment (from row_dofs_type) operator. More...
 
virtual int n () const
 Dimension of the representation space; n in GL(n, R). More...
 
virtual int d () const
 The dimension of the row dof components. 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...
 
void components (dof_type xcomps[], int xcomps_dimension) const
 The values of all the components (preallocated version). More...
 
void put_components (const dof_type xcomps[], int xcomps_dimension)
 Set values of all the components to the values in xcomps. More...
 
value_typeoperator[] (int xindex)
 The value of the component corresponding to xindex (non const version). More...
 
const value_typeoperator[] (int xindex) const
 The value of the component corresponding to xindex (const version). More...
 

ABSTRACT POSET MEMBER FACET OF CLASS GLN_LITE

virtual const std::string & class_name () const
 The name of this class. More...
 
virtual gln_liteclone () 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 GLN_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::any_lite
typedef any_lite volatile_type
 The associated volatile type. More...
 
- Public Member Functions inherited from fiber_bundle::group_lite
 group_lite ()
 Default constructor. More...
 
 group_lite (const group_lite &xother)
 Copy constructor. More...
 
group_liteoperator= (const group_lite &xother)
 Assignment operator. More...
 
virtual ~group_lite ()
 Destructor. 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::group_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

The mathematical group GL(n, R). GL(n,R) is the group of general, invertible, linear transformations on a vector space of dimension n over the reals R (volatile version).

Definition at line 103 of file gln.h.

Member Typedef Documentation

◆ dof_type

The type of the degrees of freedom.

Definition at line 115 of file gln.h.

◆ row_dofs_type

The type of the row dofs.

Definition at line 131 of file gln.h.

◆ table_dofs_type

The type of the table dofs.

Definition at line 126 of file gln.h.

◆ value_type

The type of component in the fiber; the scalar type in the fiber vector space.

Definition at line 121 of file gln.h.

Constructor & Destructor Documentation

◆ gln_lite() [1/3]

fiber_bundle::gln_lite::gln_lite ( )

Default constructor.

Postcondition

Definition at line 69 of file gln.cc.

Referenced by ~gln_lite().

◆ gln_lite() [2/3]

fiber_bundle::gln_lite::gln_lite ( const gln_lite xother)

Copy constructor.

Postcondition

Definition at line 84 of file gln.cc.

References operator=().

◆ ~gln_lite()

fiber_bundle::gln_lite::~gln_lite ( )
virtual

Destructor.

Definition at line 117 of file gln.cc.

References gln_lite().

Referenced by operator=().

◆ gln_lite() [3/3]

fiber_bundle::gln_lite::gln_lite ( const row_dofs_type xrow_dofs)

Creates a new instance with row dofs xrow_dofs.

Postcondition

Definition at line 130 of file gln.cc.

References operator=().

Member Function Documentation

◆ class_name()

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

The name of this class.

Postcondition
  • !result.empty()

Reimplemented from fiber_bundle::group_lite.

Reimplemented in fiber_bundle::gl3_lite, and fiber_bundle::gl2_lite.

Definition at line 364 of file gln.cc.

References static_class_name().

Referenced by operator[]().

◆ clone()

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

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

Is Abstract.

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

Reimplemented from fiber_bundle::group_lite.

Reimplemented in fiber_bundle::gl3_lite, and fiber_bundle::gl2_lite.

Definition at line 402 of file gln.cc.

References table_dofs().

Referenced by static_class_name().

◆ component()

fiber_bundle::gln_lite::value_type fiber_bundle::gln_lite::component ( int  xindex) const

The xindex-th component.

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

Definition at line 214 of file gln.cc.

References put_component(), and sheaf::row_dofs().

Referenced by n().

◆ components()

void fiber_bundle::gln_lite::components ( dof_type  xcomps[],
int  xcomps_dimension 
) const

The values of all the components (preallocated version).

Precondition
  • xcomps != 0
  • xcomps_dimension >= d()
Postcondition

Definition at line 257 of file gln.cc.

References put_components().

Referenced by put_component().

◆ d()

int fiber_bundle::gln_lite::d ( ) const
virtual

The dimension of the row dof components.

Postcondition
  • result == 2*n()*n()

Definition at line 172 of file gln.cc.

References n().

Referenced by fiber_bundle::operator<<(), and operator=().

◆ invariant()

bool fiber_bundle::gln_lite::invariant ( ) const

Class invariant.

Invariant

Definition at line 488 of file gln.cc.

References fiber_bundle::gln::standard_schema_poset_name().

Referenced by is_ancestor_of().

◆ is_ancestor_of()

bool fiber_bundle::gln_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::group_lite.

Reimplemented in fiber_bundle::gl3_lite, and fiber_bundle::gl2_lite.

Definition at line 468 of file gln.cc.

References invariant().

Referenced by table_dofs().

◆ n()

int fiber_bundle::gln_lite::n ( ) const
virtual

Dimension of the representation space; n in GL(n, R).

Postcondition
  • result == 0

Reimplemented in fiber_bundle::gl3_lite, and fiber_bundle::gl2_lite.

Definition at line 193 of file gln.cc.

References component().

Referenced by d().

◆ operator=() [1/2]

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

Assignment operator.

Postcondition

Definition at line 101 of file gln.cc.

References ~gln_lite().

Referenced by gln_lite().

◆ operator=() [2/2]

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

Assignment (from row_dofs_type) operator.

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

Definition at line 147 of file gln.cc.

References d().

◆ operator[]() [1/2]

fiber_bundle::gln_lite::value_type & fiber_bundle::gln_lite::operator[] ( int  xindex)

The value of the component corresponding to xindex (non const version).

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

Definition at line 309 of file gln.cc.

References sheaf::row_dofs().

Referenced by put_components().

◆ operator[]() [2/2]

const fiber_bundle::gln_lite::value_type & fiber_bundle::gln_lite::operator[] ( int  xindex) const

The value of the component corresponding to xindex (const version).

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

Definition at line 328 of file gln.cc.

References class_name(), and sheaf::row_dofs().

◆ put_component()

void fiber_bundle::gln_lite::put_component ( int  xindex,
value_type  xcomp 
)

Set the xindex-th component to xcomp.

Precondition
  • (0 <= xindex) && (xindex <= d())
Postcondition
  • isunordered_or_equals(component(xindex), xcomp)

Definition at line 235 of file gln.cc.

References components(), sheaf::isunordered_or_equals(), and sheaf::row_dofs().

Referenced by component(), and fiber_bundle::gln::lite_type().

◆ put_components()

void fiber_bundle::gln_lite::put_components ( const dof_type  xcomps[],
int  xcomps_dimension 
)

Set values of all the components to the values in xcomps.

Precondition
  • xcomps != 0
  • xcomps_dimension >= d()
Postcondition

Definition at line 283 of file gln.cc.

References operator[]().

Referenced by components().

◆ static_class_name()

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

The name of this class.

Postcondition
  • !result.empty()

Definition at line 383 of file gln.cc.

References clone().

Referenced by class_name().

◆ table_dofs()

fiber_bundle::gln_lite::table_dofs_type fiber_bundle::gln_lite::table_dofs ( ) const

The table dofs.

Issue:
Where do these c_strings get deleted?

Definition at line 425 of file gln.cc.

References is_ancestor_of().

Referenced by clone().


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