Public Member Functions | Friends

FiberTypeBase Class Reference

Abstract procedural description of a data element which may be used to construct arrays and fields. More...

#include <FiberType.hpp>

List of all members.

Public Member Functions

Friends


Detailed Description

Abstract procedural description of a data element which may be used to construct arrays and fields.

This is an object-oriented version of the generic MetaInfo class.


Constructor & Destructor Documentation

FiberTypeBase::FiberTypeBase ( bool  isStaticObject  ) 
Parameters:
isStaticObject Specifies when this object is actually a static object, not a dynamically allocated one (which is essential for reference counting).

Member Function Documentation

virtual int FiberTypeBase::element_index ( const int  i[]  )  const [pure virtual]

Information about the organization of elements of a multi-ranked object.

The index i must be smaller than rank().

Implemented in FiberType< T >.

virtual unsigned FiberTypeBase::multiplicity (  )  const [pure virtual]

How many atomic elements construct this type.

Note that in memory there might be more than that due to alignment issues, see mem_size().

Implemented in FiberType< T >.

virtual int FiberTypeBase::rank (  )  const [pure virtual]

For tensorial objects, specify the rank.

A matrix has rank two, a vector has rank one. Scalars have rank zero. The number of elements (multiplicity() ) can at most be chart_dimension() to the power of rank().

Implemented in FiberType< T >.