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.
|
A container of Kratos variables used to define a periodic boundary condition. More...
#include <periodic_variables_container.h>
Public Member Functions | |
Life Cycle | |
PeriodicVariablesContainer () | |
Default constructor. More... | |
PeriodicVariablesContainer (PeriodicVariablesContainer const &rOther) | |
Copy constructor. More... | |
~PeriodicVariablesContainer () | |
Destructor. More... | |
Operators | |
PeriodicVariablesContainer & | operator= (PeriodicVariablesContainer const &rOther) |
Assignment operator. More... | |
Operations | |
void | Add (DoubleVariableType const &rThisVariable) |
Add a scalar variable to the list of variables where periodic conditions will be imposed. More... | |
void | Clear () |
Erase all information contained in this object. More... | |
Access | |
DoubleVariablesConstIterator | DoubleVariablesBegin () const |
Iterator for the list of scalar variables. More... | |
DoubleVariablesConstIterator | DoubleVariablesEnd () const |
Iterator for the list of scalar variables. More... | |
SizeType | size () const |
Total number of periodic variables (including scalars and vector components) More... | |
Input and output | |
std::string | Info () const |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Type Definitions | |
typedef Variable< double > | DoubleVariableType |
Kratos double Variable. More... | |
typedef std::vector< const DoubleVariableType * > | DoubleVariablesContainerType |
Container of pointers to Kratos double variables. More... | |
typedef boost::indirect_iterator< DoubleVariablesContainerType::const_iterator > | DoubleVariablesConstIterator |
Double Variable iterator. More... | |
typedef std::size_t | SizeType |
KRATOS_CLASS_POINTER_DEFINITION (PeriodicVariablesContainer) | |
Pointer definition of PeriodicVariablesContainer. More... | |
Serialization | |
class | Serializer |
A container of Kratos variables used to define a periodic boundary condition.
It is used by PeriodicCondition to identify the Dofs where the periodic condition applies.
typedef boost::indirect_iterator<DoubleVariablesContainerType::const_iterator> Kratos::PeriodicVariablesContainer::DoubleVariablesConstIterator |
Double Variable iterator.
typedef std::vector<const DoubleVariableType*> Kratos::PeriodicVariablesContainer::DoubleVariablesContainerType |
Container of pointers to Kratos double variables.
typedef std::size_t Kratos::PeriodicVariablesContainer::SizeType |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inline |
Add a scalar variable to the list of variables where periodic conditions will be imposed.
|
inline |
Erase all information contained in this object.
|
inline |
Iterator for the list of scalar variables.
|
inline |
Iterator for the list of scalar variables.
|
inline |
Turn back information as a string.
Kratos::PeriodicVariablesContainer::KRATOS_CLASS_POINTER_DEFINITION | ( | PeriodicVariablesContainer | ) |
Pointer definition of PeriodicVariablesContainer.
|
inline |
Assignment operator.
|
inline |
Print object's data.
|
inline |
Print information about this object.
|
inline |
Total number of periodic variables (including scalars and vector components)
|
friend |