|
INMOST
A toolkit for distributed mathematical modeling
|
This class is used to organize unknowns into blocks, blocks enumeration are managed by class Automatizator. More...
#include <inmost_autodiff.h>


Public Member Functions | |
| BlockEntry (ElementType etype=NONE, MarkerType mask=0, bool inverse=false) | |
| Default constructor. | |
| void | ClearTags () |
| Remove all existing tags. | |
| void | AddTag (Tag value, INMOST_DATA_ENUM_TYPE comp=ENUMUNDEF) |
| Add a component of the tag as unknown, by default all components of the tag are added. More... | |
| INMOST_DATA_REAL_TYPE | Value (const Storage &e, INMOST_DATA_ENUM_TYPE pos) const |
| Return value in vector of unknowns of the block at certain position. | |
| INMOST_DATA_REAL_TYPE & | Value (const Storage &e, INMOST_DATA_ENUM_TYPE pos) |
| Return value in vector of unknowns of the block at certain position. | |
| INMOST_DATA_ENUM_TYPE | Index (const Storage &e, INMOST_DATA_ENUM_TYPE pos) const |
| Return index in vector of indices of the block at certain position. | |
| unknown | Unknown (const Storage &e, INMOST_DATA_ENUM_TYPE pos) const |
| Return unknown in vector of variables of the block at certain position. | |
| rMatrix | Value (const Storage &e) const |
| Return vector filled with values of unknowns of the block. | |
| Matrix< value_reference > | Value (const Storage &e) |
| Return vector filled with references to values of unknowns of the block. | |
| iMatrix | Index (const Storage &e) const |
| Return vector filled with indices of unknowns of the block. | |
| uMatrix | Unknown (const Storage &e) const |
| Return vector filled with unknowns of the block with their derivatives. | |
| uMatrix | operator[] (const Storage &e) const |
| Return vector filled with unknowns of the block with their derivatives. | |
| INMOST_DATA_ENUM_TYPE | MatrixSize (const Storage &e) const |
| The intended size of the matrix for this entry. | |
| INMOST_DATA_ENUM_TYPE | Size () const |
| Number of tags in block. | |
| INMOST_DATA_ENUM_TYPE | Size (const Storage &e) const |
| Number of entries for each tag in the block. | |
| INMOST_DATA_ENUM_TYPE | GetValueComp (INMOST_DATA_ENUM_TYPE unk) const |
| Retrieve component of the tag related to unknown. | |
| TagRealArray | GetValueTag (INMOST_DATA_ENUM_TYPE unk) const |
| Retrieve tag related to unknown value. | |
| Mesh * | GetMeshLink () const |
| Retrieve mesh pointer. | |
| AbstractEntry * | Copy () const |
| Make a copy of the object. | |
Public Member Functions inherited from INMOST::AbstractEntry | |
| AbstractEntry (ElementType etype=NONE, MarkerType mask=0, bool inverse=false) | |
| MarkerType | GetMask () const |
| Retrieve mask of the block. | |
| bool | GetMaskInverse () const |
| Retrieve if the mask is inverted. | |
| void | SetMask (MarkerType _mask, bool inverse=false) |
| Set mask for the block. | |
| ElementType | GetElementType () const |
| Retrieve element type of the block. | |
| void | SetElementType (ElementType _etype) |
| Set element type for the block. | |
| TagInteger | GetOffsetTag () const |
| Retrieve tag that stores enumeration offset on each element. | |
| void | SetOffsetTag (TagInteger tag) |
| Retrieve tag that stores enumeration offset on each element. | |
| bool | isValid (const Storage &e) const |
| Check that the block is valid on given element. | |
| template<typename T > | |
| Matrix< typename Demote< T >::type > | Access (const Storage &e) const |
| Return vector filled with either values or indices or unknowns of the block, depending on the template parameter. | |
| template<typename T > | |
| Demote< T >::type | Access (const Storage &e, INMOST_DATA_ENUM_TYPE pos) const |
| Return either value or index or unknown at specified position of the block, depending on the template parameter. More... | |
| INMOST_DATA_ENUM_TYPE | GetRegistrationIndex () const |
| Retrieve a registration index. | |
| void | SynchronizeData () |
| Update variables contained in block on ghost elements of the grid. More... | |
| virtual | ~AbstractEntry () |
| Destructor. | |
This class is used to organize unknowns into blocks, blocks enumeration are managed by class Automatizator.
Definition at line 123 of file inmost_autodiff.h.
| void INMOST::BlockEntry::AddTag | ( | Tag | value, |
| INMOST_DATA_ENUM_TYPE | comp = ENUMUNDEF |
||
| ) |
Add a component of the tag as unknown, by default all components of the tag are added.
Adding all components of variable-sized tags is not supported.