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.
|
Custom unordered set container to be used by the mapper. More...
#include <mapping_variables.h>
Public Member Functions | |
Life Cycle | |
IndexSet () | |
Default constructors. More... | |
virtual | ~IndexSet () |
Destructor. More... | |
Operations | |
IndexType | GetId (IteratorType ThisIterator) |
Returns the id corresponding a iterator. More... | |
IndexType | GetOtherId (IteratorType ThisIterator) |
Returns the new entity id corresponding a iterator. More... | |
bool | Has (const IndexType IndexOrigin) override |
It checks if an ID exists in the map. More... | |
void | AddId (const IndexType IndexOrigin, const IndexType IndexNewEntity=0) override |
It adds a new ID to the map. More... | |
void | RemoveId (const IndexType IndexOrigin) override |
It removes one particular pair from the map. More... | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | save (Serializer &rSerializer) const override |
void | load (Serializer &rSerializer) override |
Public Member Functions inherited from Kratos::IndexDatabase | |
KRATOS_CLASS_POINTER_DEFINITION (IndexDatabase) | |
IndexDatabase () | |
Default constructors. More... | |
virtual | ~IndexDatabase () |
Destructor. 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... | |
Type Definitions | |
Counted pointer of IndexSet | |
typedef std::unordered_set< IndexType > | BaseType |
typedef iterator | IteratorType |
KRATOS_CLASS_POINTER_DEFINITION (IndexSet) | |
Custom unordered set container to be used by the mapper.
Contains a set of IDs of paired conditions
typedef std::unordered_set<IndexType> Kratos::IndexSet::BaseType |
typedef iterator Kratos::IndexSet::IteratorType |
|
inline |
Default constructors.
|
inlinevirtual |
Destructor.
|
inlineoverridevirtual |
It adds a new ID to the map.
IndexOrigin | The condition ID to remove |
IndexNewEntity | The new created entity ID |
Reimplemented from Kratos::IndexDatabase.
|
inline |
Returns the id corresponding a iterator.
ThisIterator | The iterator of the class |
|
inline |
Returns the new entity id corresponding a iterator.
ThisIterator | The iterator of the class |
It checks if an ID exists in the map.
IndexOrigin | The condition ID to remove |
Reimplemented from Kratos::IndexDatabase.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::IndexDatabase.
Kratos::IndexSet::KRATOS_CLASS_POINTER_DEFINITION | ( | IndexSet | ) |
|
inlineoverridevirtual |
Reimplemented from Kratos::IndexDatabase.
|
inlineoverridevirtual |
It removes one particular pair from the map.
IndexOrigin | The condition ID to remove |
Reimplemented from Kratos::IndexDatabase.
|
inlineoverridevirtual |
Reimplemented from Kratos::IndexDatabase.