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.
|
This class defines the way a certain property is accessed. More...
#include <accessor.h>
Public Member Functions | |
Life Cycle | |
Accessor ()=default | |
Default constructor. More... | |
virtual | ~Accessor ()=default |
Destructor. More... | |
Accessor (const Accessor &rOther) | |
Copy constructor. More... | |
Operations | |
virtual double | GetValue (const Variable< double > &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve double type properties. More... | |
virtual Vector | GetValue (const Variable< Vector > &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve Vector type properties. More... | |
virtual bool | GetValue (const Variable< bool > &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve bool type properties. More... | |
virtual int | GetValue (const Variable< int > &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve int type properties. More... | |
virtual Matrix | GetValue (const Variable< Matrix > &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve Matrix type properties. More... | |
virtual array_1d< double, 3 > | GetValue (const Variable< array_1d< double, 3 >> &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve array_1d<double, 3 > type properties. More... | |
virtual array_1d< double, 6 > | GetValue (const Variable< array_1d< double, 6 >> &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve array_1d<double, 6 > type properties. More... | |
virtual array_1d< double, 4 > | GetValue (const Variable< array_1d< double, 4 >> &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve array_1d<double, 6 > type properties. More... | |
virtual array_1d< double, 9 > | GetValue (const Variable< array_1d< double, 9 >> &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve array_1d<double, 6 > type properties. More... | |
virtual std::string | GetValue (const Variable< std::string > &rVariable, const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
Custom method to retrieve string type properties. More... | |
virtual Accessor::UniquePointer | Clone () const |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Type Definitions | |
using | GeometryType = Geometry< Node > |
Geometry type definition. More... | |
KRATOS_CLASS_POINTER_DEFINITION (Accessor) | |
Pointer definition of Accessor. More... | |
Member Variables | |
class | Serializer |
This class defines the way a certain property is accessed.
using Kratos::Accessor::GeometryType = Geometry<Node> |
Geometry type definition.
|
default |
Default constructor.
|
virtualdefault |
Destructor.
|
inline |
Copy constructor.
|
virtual |
Reimplemented in Kratos::TableAccessor.
|
virtual |
Custom method to retrieve array_1d<double, 3 > type properties.
rVariable | The variable considered (array_1d<double, 3 > type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve array_1d<double, 6 > type properties.
rVariable | The variable considered (array_1d<double, 6 > type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve array_1d<double, 6 > type properties.
rVariable | The variable considered (array_1d<double, 6 > type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve array_1d<double, 6 > type properties.
rVariable | The variable considered (array_1d<double, 6 > type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve bool type properties.
rVariable | The variable considered (bool type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve double type properties.
rVariable | The variable considered (double type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
Reimplemented in Kratos::TableAccessor.
|
virtual |
Custom method to retrieve int type properties.
rVariable | The variable considered (int type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve Matrix type properties.
rVariable | The variable considered (Matrix type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve string type properties.
rVariable | The variable considered (string type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
virtual |
Custom method to retrieve Vector type properties.
rVariable | The variable considered (Vector type properties) |
rProperties | The properties considered |
rGeometry | The geometry considered |
rShapeFunctionVector | The shape function of the GP considered |
rProcessInfo | The process info considered |
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::TableAccessor.
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::TableAccessor.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::TableAccessor.
|
friend |