KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Base class to derive common methods. More...
#include <mapping_variables.h>
Public Member Functions | |
Type Definitions | |
Counted pointer of IndexDatabase | |
KRATOS_CLASS_POINTER_DEFINITION (IndexDatabase) | |
Life Cycle | |
IndexDatabase () | |
Default constructors. More... | |
virtual | ~IndexDatabase () |
Destructor. More... | |
Operations | |
virtual bool | Has (const IndexType IndexOrigin) |
It checks if an ID exists in the map. More... | |
virtual void | AddId (const IndexType IndexOrigin, const IndexType IndexNewEntity=0) |
It adds a new ID to the map. More... | |
virtual void | RemoveId (const IndexType IndexOrigin) |
It removes one particular pair from the map. More... | |
virtual IndexType | GetNewEntityId (const IndexType IndexOrigin) |
It returns the new created entity ID. More... | |
virtual void | SetNewEntityId (const IndexType IndexOrigin, const IndexType IndexNewEntity=0) |
It sets the new created entity ID. More... | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | save (Serializer &rSerializer) const |
virtual void | load (Serializer &rSerializer) |
Base class to derive common methods.
|
inline |
Default constructors.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
It adds a new ID to the map.
IndexOrigin | The condition ID to remove |
IndexNewEntity | The new created entity ID |
Reimplemented in Kratos::IndexMap, and Kratos::IndexSet.
|
inlinevirtual |
It returns the new created entity ID.
IndexOrigin | The condition ID to remove |
Reimplemented in Kratos::IndexMap.
It checks if an ID exists in the map.
IndexOrigin | The condition ID to remove |
Reimplemented in Kratos::IndexMap, and Kratos::IndexSet.
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::IndexMap, and Kratos::IndexSet.
Kratos::IndexDatabase::KRATOS_CLASS_POINTER_DEFINITION | ( | IndexDatabase | ) |
|
inlinevirtual |
Reimplemented in Kratos::IndexMap, and Kratos::IndexSet.
|
inlinevirtual |
It removes one particular pair from the map.
IndexOrigin | The condition ID to remove |
Reimplemented in Kratos::IndexMap, and Kratos::IndexSet.
|
inlinevirtual |
Reimplemented in Kratos::IndexMap, and Kratos::IndexSet.
|
inlinevirtual |
It sets the new created entity ID.
IndexOrigin | The condition ID to remove |
IndexNewEntity | The new created entity ID |
Reimplemented in Kratos::IndexMap.