![]() |
INMOST
Mathematical Modelling Toolkit
|
#include <inmost_data.h>
Classes | |
class | reference_array |
Storage type for representing arrays of Element references. More... | |
class | remote_reference_array |
Storage type for representing arrays of Element references on another Mesh. More... | |
Public Types | |
typedef INMOST_DATA_REAL_TYPE | real |
Storage type for representing real values. More... | |
typedef INMOST_DATA_INTEGER_TYPE | integer |
Storage type for representing integer values. More... | |
typedef INMOST_DATA_BULK_TYPE | bulk |
Storage type for representing one byte of abstact data. More... | |
typedef INMOST_DATA_ENUM_TYPE | enumerator |
type for representing unsigned integer values. More... | |
typedef HandleType | reference |
Storage type for representing references to Element. More... | |
typedef RemoteHandleType | remote_reference |
Storage type for representing references to Element in another Mesh. More... | |
typedef shell< real > | real_array |
Storage type for representing arrays of real values. More... | |
typedef shell< integer > | integer_array |
Storage type for representing arrays of integer values. More... | |
typedef shell< bulk > | bulk_array |
Storage type for representing abstact data as a series of bytes. More... | |
typedef variable | var |
Storage type for representing real value with vector of variations. More... | |
typedef shell< variable > | var_array |
Storage type for representing array of values with vectors of variations. More... | |
Protected Attributes | |
HandleType | handle |
HandleType * | handle_link |
Friends | |
class | Mesh |
Base class for Mesh, Element, and ElementSet classes. This base class is used for the Mesh class, as well as Element classes, and ElementSet class.
Storage class is used for representing different data objects in memory. Each data object is associated with corresponding Tag.
Definition at line 274 of file inmost_data.h.
Storage type for representing one byte of abstact data.
Definition at line 282 of file inmost_data.h.
typedef shell<bulk> INMOST::Storage::bulk_array |
Storage type for representing abstact data as a series of bytes.
Definition at line 294 of file inmost_data.h.
type for representing unsigned integer values.
Definition at line 284 of file inmost_data.h.
Storage type for representing integer values.
Definition at line 280 of file inmost_data.h.
typedef shell<integer> INMOST::Storage::integer_array |
Storage type for representing arrays of integer values.
Definition at line 292 of file inmost_data.h.
Storage type for representing real values.
Definition at line 278 of file inmost_data.h.
typedef shell<real> INMOST::Storage::real_array |
Storage type for representing arrays of real values.
Definition at line 290 of file inmost_data.h.
typedef HandleType INMOST::Storage::reference |
Storage type for representing references to Element.
Definition at line 286 of file inmost_data.h.
Storage type for representing references to Element in another Mesh.
Definition at line 288 of file inmost_data.h.
typedef variable INMOST::Storage::var |
Storage type for representing real value with vector of variations.
Definition at line 297 of file inmost_data.h.
typedef shell<variable> INMOST::Storage::var_array |
Storage type for representing array of values with vectors of variations.
Definition at line 299 of file inmost_data.h.
|
inline |
Definition at line 428 of file inmost_data.h.
|
inline |
Definition at line 429 of file inmost_data.h.
|
inline |
This constructor allows for remote handle modification.
Definition at line 431 of file inmost_data.h.
|
inlinevirtual |
Definition at line 445 of file inmost_data.h.
__INLINE Storage::bulk & INMOST::Storage::Bulk | ( | const Tag & | tag | ) | const |
Retrieve one byte of abstract data associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3250 of file inmost_mesh.h.
__INLINE Storage::bulk_array INMOST::Storage::BulkArray | ( | const Tag & | tag | ) | const |
Retrieve abstract data associated with Tag as a series of bytes. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3270 of file inmost_mesh.h.
__INLINE Storage::bulk_array INMOST::Storage::BulkArrayDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::bulk_array INMOST::Storage::BulkArrayDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::bulk & INMOST::Storage::BulkDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::bulk & INMOST::Storage::BulkDV | ( | const Tag & | tag | ) | const |
__INLINE void INMOST::Storage::ClearMarkerSpace | ( | ) | const |
__INLINE Storage::integer INMOST::Storage::DataLocalID | ( | ) | const |
This number is guaranteed to be between 0 and Mesh::NumberOf(type of element) after Mesh::ReorderEmpty
Definition at line 3483 of file inmost_mesh.h.
Frees variable array or fills field with zeroes.
Definition at line 3425 of file inmost_mesh.h.
Deallocates space allocated for sparse data, frees variable array if necessary.
Definition at line 3429 of file inmost_mesh.h.
__INLINE ElementSet INMOST::Storage::getAsSet | ( | ) | const |
__INLINE void INMOST::Storage::GetData | ( | const Tag & | tag, |
INMOST_DATA_ENUM_TYPE | shift, | ||
INMOST_DATA_ENUM_TYPE | size, | ||
void * | data | ||
) | const |
Extract part of the data associated with Tag. Copy part of the associated array or data to the destination memory.
tag | Identifying Tag. |
shift | Starting position of the copied data. For abstact data – number of bytes to skip, otherwise number of values to skip. |
size | Number of elements to copy. For abstact data – number of bytes to copy, otherwise number of values to copy. |
data | Destination position to copy data to. |
Definition at line 3413 of file inmost_mesh.h.
__INLINE INMOST_DATA_ENUM_TYPE INMOST::Storage::GetDataCapacity | ( | const Tag & | tag | ) | const |
Return the size of the structure required to represent the data on current element. This is equal to GetDataSize times Tag::GetBytesSize for all the data types, except for DATA_VARIABLE, that requires a larger structure to accomodate derivatives.
tag | tag that represents the data |
Definition at line 3397 of file inmost_mesh.h.
__INLINE INMOST_DATA_ENUM_TYPE INMOST::Storage::GetDataSize | ( | const Tag & | tag | ) | const |
Return the data length associated with Tag. For abstract data return the number of bytes, otherwise return the length of associated array.
tag | tag that represents the data |
Definition at line 3393 of file inmost_mesh.h.
__INLINE Storage::integer INMOST::Storage::GetElementNum | ( | ) | const |
__INLINE ElementType INMOST::Storage::GetElementType | ( | ) | const |
Definition at line 3405 of file inmost_mesh.h.
__INLINE HandleType INMOST::Storage::GetHandle | ( | ) | const |
__INLINE bool INMOST::Storage::GetMarker | ( | MarkerType | n | ) | const |
Definition at line 3438 of file inmost_mesh.h.
__INLINE void INMOST::Storage::GetMarkerSpace | ( | Storage::bulk | copy[MarkerFields] | ) | const |
__INLINE bool INMOST::Storage::GetPrivateMarker | ( | MarkerType | n | ) | const |
Check if any data is associated with Tag.
Definition at line 3388 of file inmost_mesh.h.
__INLINE Storage::integer & INMOST::Storage::Integer | ( | const Tag & | tag | ) | const |
Retrieve integer value associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3246 of file inmost_mesh.h.
__INLINE Storage::integer_array INMOST::Storage::IntegerArray | ( | const Tag & | tag | ) | const |
Retrieve array of integer values associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3266 of file inmost_mesh.h.
__INLINE Storage::integer_array INMOST::Storage::IntegerArrayDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::integer_array INMOST::Storage::IntegerArrayDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::integer & INMOST::Storage::IntegerDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::integer & INMOST::Storage::IntegerDV | ( | const Tag & | tag | ) | const |
Definition at line 3475 of file inmost_mesh.h.
__INLINE Storage::integer INMOST::Storage::LocalID | ( | ) | const |
Definition at line 3222 of file inmost_mesh.h.
Definition at line 3226 of file inmost_mesh.h.
Definition at line 3230 of file inmost_mesh.h.
Inline functions for class Storage //.
Definition at line 3202 of file inmost_mesh.h.
Definition at line 3210 of file inmost_mesh.h.
If there is a link to handle provided (automatically by ElementArray and reference_array), then remote handle value will be modified
Definition at line 3218 of file inmost_mesh.h.
Definition at line 3206 of file inmost_mesh.h.
Definition at line 3214 of file inmost_mesh.h.
__INLINE Storage::real & INMOST::Storage::Real | ( | const Tag & | tag | ) | const |
Retrieve real value associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3242 of file inmost_mesh.h.
__INLINE Storage::real_array INMOST::Storage::RealArray | ( | const Tag & | tag | ) | const |
Retrieve array of real values associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3262 of file inmost_mesh.h.
__INLINE Storage::real_array INMOST::Storage::RealArrayDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::real_array INMOST::Storage::RealArrayDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::real & INMOST::Storage::RealDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::real & INMOST::Storage::RealDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::reference & INMOST::Storage::Reference | ( | const Tag & | tag | ) | const |
Retrieve Element reference associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3254 of file inmost_mesh.h.
__INLINE Storage::reference_array INMOST::Storage::ReferenceArray | ( | const Tag & | tag | ) | const |
Retrieve array of Element references associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3274 of file inmost_mesh.h.
__INLINE Storage::reference_array INMOST::Storage::ReferenceArrayDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::reference_array INMOST::Storage::ReferenceArrayDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::reference & INMOST::Storage::ReferenceDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::reference & INMOST::Storage::ReferenceDV | ( | const Tag & | tag | ) | const |
__INLINE void INMOST::Storage::RemMarker | ( | MarkerType | n | ) | const |
__INLINE Storage::remote_reference & INMOST::Storage::RemoteReference | ( | const Tag & | tag | ) | const |
Retrieve remote Element reference associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3258 of file inmost_mesh.h.
__INLINE Storage::remote_reference_array INMOST::Storage::RemoteReferenceArray | ( | const Tag & | tag | ) | const |
Retrieve array of Element references associated with Tag. Implemented in inmost_mesh.h.
tag | instance of class Tag that represent asking datum. |
Definition at line 3278 of file inmost_mesh.h.
__INLINE Storage::remote_reference_array INMOST::Storage::RemoteReferenceArrayDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::remote_reference_array INMOST::Storage::RemoteReferenceArrayDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::remote_reference & INMOST::Storage::RemoteReferenceDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::remote_reference & INMOST::Storage::RemoteReferenceDV | ( | const Tag & | tag | ) | const |
__INLINE void INMOST::Storage::RemPrivateMarker | ( | MarkerType | n | ) | const |
Definition at line 3234 of file inmost_mesh.h.
Definition at line 3238 of file inmost_mesh.h.
__INLINE void INMOST::Storage::SetData | ( | const Tag & | tag, |
INMOST_DATA_ENUM_TYPE | shift, | ||
INMOST_DATA_ENUM_TYPE | size, | ||
const void * | data | ||
) | const |
__INLINE void INMOST::Storage::SetDataSize | ( | const Tag & | tag, |
INMOST_DATA_ENUM_TYPE | new_size | ||
) | const |
Set the length of data associated with Tag.
tag | Identifying Tag. |
new_size | The number of bytes for abstract data, otherwise the length of the array. |
Definition at line 3401 of file inmost_mesh.h.
__INLINE void INMOST::Storage::SetMarker | ( | MarkerType | n | ) | const |
__INLINE void INMOST::Storage::SetMarkerSpace | ( | Storage::bulk | source[MarkerFields] | ) | const |
__INLINE void INMOST::Storage::SetPrivateMarker | ( | MarkerType | n | ) | const |
__INLINE Storage::var & INMOST::Storage::Variable | ( | const Tag & | tag | ) | const |
Retrieve variable reference associated with Tag.
Definition at line 3363 of file inmost_mesh.h.
__INLINE Storage::var_array INMOST::Storage::VariableArray | ( | const Tag & | tag | ) | const |
Retrieve array of variables associated with Tag.
Definition at line 3375 of file inmost_mesh.h.
__INLINE Storage::var_array INMOST::Storage::VariableArrayDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::var_array INMOST::Storage::VariableArrayDV | ( | const Tag & | tag | ) | const |
__INLINE Storage::var & INMOST::Storage::VariableDF | ( | const Tag & | tag | ) | const |
__INLINE Storage::var & INMOST::Storage::VariableDV | ( | const Tag & | tag | ) | const |
|
friend |
Definition at line 582 of file inmost_data.h.
|
protected |
Definition at line 423 of file inmost_data.h.
|
protected |
Definition at line 424 of file inmost_data.h.