INMOST
Mathematical Modelling Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
INMOST Namespace Reference

Namespaces

 Sparse
 

Classes

struct  make_unsigned
 
struct  make_unsigned< char >
 
struct  make_unsigned< short >
 
struct  make_unsigned< int >
 
struct  make_unsigned< long >
 
struct  make_unsigned< long long >
 
struct  make_unsigned< unsigned char >
 
struct  make_unsigned< unsigned short >
 
struct  make_unsigned< unsigned int >
 
struct  make_unsigned< unsigned long >
 
struct  make_unsigned< unsigned long long >
 
class  array
 
class  shell
 
class  sparse_data
 
class  interval
 
class  dynarray
 
class  tiny_map
 
class  small_hash
 
class  chunk_array
 
class  chunk_bulk_array
 
class  Automatizator
 
class  expr
 
class  TagMemory
 
class  Tag
 This class provides the access to the individual mesh datum and general information about it. More...
 
class  TagManager
 
class  Storage
 
struct  Promote
 
struct  Promote< INMOST_DATA_REAL_TYPE, INMOST_DATA_REAL_TYPE >
 
struct  Promote< INMOST_DATA_REAL_TYPE, variable >
 
struct  Promote< variable, INMOST_DATA_REAL_TYPE >
 
struct  Promote< variable, variable >
 
class  Matrix
 
class  basic_expression
 
class  shell_expression
 
class  var_expression
 
class  multivar_expression
 
class  const_multiplication_expression
 
class  variation_multiplication_expression
 
class  const_division_expression
 
class  const_addition_expression
 
class  const_subtraction_expression
 
class  reciprocal_expression
 
class  unary_minus_expression
 
class  abs_expression
 
class  exp_expression
 
class  log_expression
 
class  sin_expression
 
class  cos_expression
 
class  sqrt_expression
 
class  soft_abs_expression
 
class  soft_sign_expression
 
class  soft_max_expression
 
class  soft_min_expression
 
class  multiplication_expression
 
class  division_expression
 
class  addition_expression
 
class  subtraction_expression
 
class  pow_expression
 
class  pow_const_expression
 
class  const_pow_expression
 
class  condition_expression
 
class  stencil_expression
 
class  ElementArray
 
class  Element
 
class  Node
 
class  Edge
 
class  Face
 An interface for elements of type FACE. More...
 
class  Cell
 An interface for elements of type CELL. More...
 
class  ElementSet
 
class  Mesh
 
class  NonlinearSolver
 
class  Partitioner
 Main class to modify or improve the mesh distribution for better load balancing. More...
 
class  Solver
 
class  enhanced_multivar_expression
 
class  enhance
 
class  enhance< INMOST_DATA_REAL_TYPE >
 
class  enhance< var_expression >
 
class  enhance< multivar_expression >
 
class  enhance< enhanced_multivar_expression >
 
class  unary_pool
 
class  unary_const_pool
 
class  binary_pool
 
class  ternary_pool
 
class  unary_pool_expression
 
class  unary_const_pool_expression
 
class  binary_pool_expression
 
class  ternary_pool_expression
 
class  abstract_dynamic_variable
 
class  get_variable
 
class  get_variable< multivar_expression >
 
class  get_variable< INMOST_DATA_REAL_TYPE >
 
class  get_variable< enhanced_multivar_expression >
 
class  basic_dynamic_variable
 
class  shell_dynamic_variable
 
class  dynamic_variable
 
class  stencil_variable
 
class  unary_custom_variable
 
class  binary_custom_variable
 
class  unary_const_custom_variable
 
class  ternary_custom_variable
 

Typedefs

typedef dynarray
< INMOST_DATA_REAL_TYPE, 2048 > 
precomp_values_t
 
typedef INMOST_DATA_BULK_TYPE ElementType
 
typedef INMOST_DATA_ENUM_TYPE MarkerType
 Low 8 bits - marker mask, rest high bits - position of marker. More...
 
typedef INMOST_DATA_ENUM_TYPE HandleType
 
typedef std::pair< Mesh
*, HandleType
RemoteHandleType
 
typedef array< variableinner_variable_array
 
typedef array
< INMOST_DATA_REAL_TYPE
inner_real_array
 
typedef array
< INMOST_DATA_INTEGER_TYPE
inner_integer_array
 
typedef array
< INMOST_DATA_BULK_TYPE
inner_bulk_array
 
typedef array< HandleTypeinner_reference_array
 
typedef array< RemoteHandleTypeinner_remote_reference_array
 
typedef Matrix
< INMOST_DATA_REAL_TYPE
rMatrix
 
typedef Matrix< variablevMatrix
 
typedef multivar_expression variable
 
typedef var_expression unknown
 
typedef INMOST_DATA_BULK_TYPE GeometricData
 
typedef INMOST_DATA_BULK_TYPE SyncBitOp
 
typedef INMOST_DATA_ENUM_TYPE TopologyCheck
 to accomodate more topological errors or events. More...
 
typedef INMOST_DATA_BULK_TYPE RequestedAction
 
typedef abstract_dynamic_variable abstract_variable
 
typedef
enhanced_multivar_expression 
enhanced_variable
 

Enumerations

enum  ErrorType {
  Failure =100, NoTagPosition, WrongDataType, WrongElementType,
  BadTag, BadBulkType, NoData, TagNotInitialized,
  TagNotFound, TagExists, TagForOtherMesh, ElementForOtherMesh,
  ImpossibleConn, NoElementType, NoMultiElement, NoMeshElement,
  NoEsetElement, DimensionIsFixed, NullInElementSet, NoSpaceForMarker,
  ElementBelongsToNobody, BadFileName, BadFile, CorruptedIerarchy,
  CorruptedOrdering, IterForOtherMesh, UndefinedBehaviorInGeometry, DimensionIsNotSupportedByGeometry,
  NoParallelMode, BadParameter, TopologyCheckError, ErrorInSolver = 400,
  DataCorruptedInSolver, DifferentCommunicatorInSolver, MatrixNotSetInSolver, InconsistentSizesInSolver,
  IndexesAreDifferentInSolver, PrepareMatrixFirst, CannotReusePreconditionerOfDifferentSize, ErrorInPartitioner = 500,
  UnknownWeightSize, DistributionTagWasNotFilled, NotImplemented = 1000, Impossible
}
 
enum  DataType {
  DATA_REAL = 0, DATA_INTEGER = 1, DATA_BULK = 2, DATA_REFERENCE = 3,
  DATA_REMOTE_REFERENCE = 4, DATA_VARIABLE = 5
}
 

Functions

__INLINE bool OneType (ElementType t)
 
__INLINE ElementType FirstElementType ()
 
__INLINE ElementType LastElementType ()
 
__INLINE ElementType NextElementType (ElementType etype)
 
__INLINE ElementType PrevElementType (ElementType etype)
 
__INLINE ElementType ElementTypeFromDim (INMOST_DATA_INTEGER_TYPE dim)
 
const char * ElementTypeName (ElementType t)
 
__INLINE INMOST_DATA_INTEGER_TYPE ElementNum (ElementType t)
 
__INLINE HandleType InvalidHandle ()
 
__INLINE INMOST_DATA_INTEGER_TYPE GetHandleID (HandleType h)
 
__INLINE INMOST_DATA_INTEGER_TYPE GetHandleElementNum (HandleType h)
 
__INLINE ElementType GetHandleElementType (HandleType h)
 
__INLINE HandleType ComposeHandle (ElementType etype, INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE HandleType ComposeCellHandle (INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE HandleType ComposeFaceHandle (INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE HandleType ComposeEdgeHandle (INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE HandleType ComposeNodeHandle (INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE HandleType ComposeSetHandle (INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE HandleType ComposeHandleNum (INMOST_DATA_INTEGER_TYPE etypenum, INMOST_DATA_INTEGER_TYPE ID)
 
__INLINE bool isValidHandle (HandleType h)
 
Element MakeElement (const RemoteHandleType &rh)
 Construct an object of type Element, hande cannot be modified. More...
 
Element MakeElementRef (RemoteHandleType &rh)
 Construct an object of type Element, hande can be modified. More...
 
const char * DataTypeName (DataType t)
 Returns a name of the data type as a string. More...
 
__INLINE bool check_nans (INMOST_DATA_REAL_TYPE val)
 
__INLINE bool check_nans (var_expression const &e)
 
__INLINE bool check_nans (multivar_expression const &e)
 
const char * TopologyCheckNotifyString (TopologyCheck c)
 
__INLINE const ElementInvalidElement ()
 
__INLINE const NodeInvalidNode ()
 
__INLINE const EdgeInvalidEdge ()
 
__INLINE const FaceInvalidFace ()
 
__INLINE const CellInvalidCell ()
 
__INLINE const ElementSetInvalidElementSet ()
 
__INLINE bool check_nans (enhanced_multivar_expression const &e)
 

Typedef Documentation

Definition at line 650 of file inmost_variable.h.

Definition at line 23 of file inmost_data.h.

Definition at line 651 of file inmost_variable.h.

Definition at line 24 of file inmost_mesh.h.

Definition at line 80 of file inmost_data.h.

Definition at line 120 of file inmost_data.h.

Definition at line 119 of file inmost_data.h.

Definition at line 117 of file inmost_data.h.

Definition at line 121 of file inmost_data.h.

Definition at line 122 of file inmost_data.h.

Definition at line 115 of file inmost_data.h.

Low 8 bits - marker mask, rest high bits - position of marker.

Definition at line 62 of file inmost_data.h.

Definition at line 81 of file inmost_autodiff.h.

Definition at line 106 of file inmost_data.h.

Definition at line 11 of file inmost_nonlinear.h.

Definition at line 703 of file inmost_dense.h.

Definition at line 35 of file inmost_mesh.h.

to accomodate more topological errors or events.

Definition for data type of topology error or event. This type may be extended later to 64 bits

Definition at line 44 of file inmost_mesh.h.

Definition at line 882 of file inmost_expression.h.

Definition at line 881 of file inmost_expression.h.

Definition at line 705 of file inmost_dense.h.

Enumeration Type Documentation

Enumerator
DATA_REAL 
DATA_INTEGER 
DATA_BULK 
DATA_REFERENCE 
DATA_REMOTE_REFERENCE 
DATA_VARIABLE 

Definition at line 124 of file inmost_data.h.

Types of errors may occur in INMOST. All of these error are fatal ones. If error is detected then "throw" exception is generated. The names of the error type are very intuitive and self-explained ones. Use "try{...} catch{...}" blocks to implement exception handling.

Enumerator
Failure 

The list of errors connected to mesh consistency.

NoTagPosition 
WrongDataType 
WrongElementType 
BadTag 
BadBulkType 
NoData 
TagNotInitialized 
TagNotFound 
TagExists 
TagForOtherMesh 
ElementForOtherMesh 
ImpossibleConn 
NoElementType 
NoMultiElement 
NoMeshElement 
NoEsetElement 
DimensionIsFixed 
NullInElementSet 
NoSpaceForMarker 
ElementBelongsToNobody 
BadFileName 

The list of general type errors.

BadFile 
CorruptedIerarchy 
CorruptedOrdering 
IterForOtherMesh 
UndefinedBehaviorInGeometry 
DimensionIsNotSupportedByGeometry 
NoParallelMode 
BadParameter 
TopologyCheckError 
ErrorInSolver 

The list of errors may occur in the Linear Solver.

DataCorruptedInSolver 
DifferentCommunicatorInSolver 
MatrixNotSetInSolver 
InconsistentSizesInSolver 
IndexesAreDifferentInSolver 
PrepareMatrixFirst 
CannotReusePreconditionerOfDifferentSize 
ErrorInPartitioner 

The list of errors may occur in the Partitioner.

UnknownWeightSize 
DistributionTagWasNotFilled 
NotImplemented 

The very tail of the errors list.

Impossible 

Definition at line 168 of file inmost_common.h.

Function Documentation

__INLINE bool INMOST::check_nans ( enhanced_multivar_expression const &  e)

Definition at line 185 of file inmost_variable.h.

Here is the call graph for this function:

__INLINE bool INMOST::check_nans ( INMOST_DATA_REAL_TYPE  val)

Definition at line 877 of file inmost_expression.h.

__INLINE bool INMOST::check_nans ( var_expression const &  e)

Definition at line 878 of file inmost_expression.h.

Here is the call graph for this function:

__INLINE bool INMOST::check_nans ( multivar_expression const &  e)

Definition at line 879 of file inmost_expression.h.

Here is the call graph for this function:

__INLINE HandleType INMOST::ComposeCellHandle ( INMOST_DATA_INTEGER_TYPE  ID)

Definition at line 95 of file inmost_data.h.

Here is the call graph for this function:

__INLINE HandleType INMOST::ComposeEdgeHandle ( INMOST_DATA_INTEGER_TYPE  ID)

Definition at line 97 of file inmost_data.h.

Here is the call graph for this function:

__INLINE HandleType INMOST::ComposeFaceHandle ( INMOST_DATA_INTEGER_TYPE  ID)

Definition at line 96 of file inmost_data.h.

Here is the call graph for this function:

__INLINE HandleType INMOST::ComposeHandle ( ElementType  etype,
INMOST_DATA_INTEGER_TYPE  ID 
)

Definition at line 94 of file inmost_data.h.

Here is the call graph for this function:

Here is the caller graph for this function:

__INLINE HandleType INMOST::ComposeHandleNum ( INMOST_DATA_INTEGER_TYPE  etypenum,
INMOST_DATA_INTEGER_TYPE  ID 
)

Definition at line 100 of file inmost_data.h.

Here is the call graph for this function:

Here is the caller graph for this function:

__INLINE HandleType INMOST::ComposeNodeHandle ( INMOST_DATA_INTEGER_TYPE  ID)

Definition at line 98 of file inmost_data.h.

Here is the call graph for this function:

__INLINE HandleType INMOST::ComposeSetHandle ( INMOST_DATA_INTEGER_TYPE  ID)

Definition at line 99 of file inmost_data.h.

Here is the call graph for this function:

const char* INMOST::DataTypeName ( DataType  t)

Returns a name of the data type as a string.

__INLINE INMOST_DATA_INTEGER_TYPE INMOST::ElementNum ( ElementType  t)

Definition at line 45 of file inmost_data.h.

Here is the caller graph for this function:

__INLINE ElementType INMOST::ElementTypeFromDim ( INMOST_DATA_INTEGER_TYPE  dim)

Definition at line 43 of file inmost_data.h.

const char* INMOST::ElementTypeName ( ElementType  t)
__INLINE ElementType INMOST::FirstElementType ( )

Definition at line 39 of file inmost_data.h.

__INLINE INMOST_DATA_INTEGER_TYPE INMOST::GetHandleElementNum ( HandleType  h)

Definition at line 92 of file inmost_data.h.

Here is the caller graph for this function:

__INLINE ElementType INMOST::GetHandleElementType ( HandleType  h)

Definition at line 93 of file inmost_data.h.

Here is the call graph for this function:

Here is the caller graph for this function:

__INLINE INMOST_DATA_INTEGER_TYPE INMOST::GetHandleID ( HandleType  h)

Definition at line 91 of file inmost_data.h.

Here is the caller graph for this function:

__INLINE const Cell& INMOST::InvalidCell ( )

Definition at line 904 of file inmost_mesh.h.

Here is the call graph for this function:

__INLINE const Edge& INMOST::InvalidEdge ( )

Definition at line 527 of file inmost_mesh.h.

Here is the call graph for this function:

__INLINE const Element& INMOST::InvalidElement ( )

Definition at line 466 of file inmost_mesh.h.

Here is the call graph for this function:

__INLINE const ElementSet& INMOST::InvalidElementSet ( )

Definition at line 1203 of file inmost_mesh.h.

Here is the call graph for this function:

__INLINE const Face& INMOST::InvalidFace ( )

Definition at line 612 of file inmost_mesh.h.

Here is the call graph for this function:

__INLINE HandleType INMOST::InvalidHandle ( )

Definition at line 90 of file inmost_data.h.

Here is the caller graph for this function:

__INLINE const Node& INMOST::InvalidNode ( )

Definition at line 492 of file inmost_mesh.h.

Here is the call graph for this function:

__INLINE bool INMOST::isValidHandle ( HandleType  h)

Definition at line 101 of file inmost_data.h.

Here is the caller graph for this function:

__INLINE ElementType INMOST::LastElementType ( )

Definition at line 40 of file inmost_data.h.

Element INMOST::MakeElement ( const RemoteHandleType &  rh)

Construct an object of type Element, hande cannot be modified.

Element INMOST::MakeElementRef ( RemoteHandleType &  rh)

Construct an object of type Element, hande can be modified.

__INLINE ElementType INMOST::NextElementType ( ElementType  etype)

Definition at line 41 of file inmost_data.h.

__INLINE bool INMOST::OneType ( ElementType  t)

Definition at line 38 of file inmost_data.h.

Here is the caller graph for this function:

__INLINE ElementType INMOST::PrevElementType ( ElementType  etype)

Definition at line 42 of file inmost_data.h.

const char* INMOST::TopologyCheckNotifyString ( TopologyCheck  c)

Returns a string explaining each topology check. Implemented in mesh.cpp.

Parameters
cSingle topology check.