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.
|
#include <vector_field.h>
Public Member Functions | |
KRATOS_CLASS_POINTER_DEFINITION (VectorField) | |
VectorField () | |
Default constructor. More... | |
VectorField (RealFunction &u_x, RealFunction &u_y, RealFunction &u_z) | |
virtual | ~VectorField () |
Destructor. More... | |
virtual void | Evaluate (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &vector, const int i_thread=0) |
virtual void | CalculateTimeDerivative (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &deriv, const int i_thread=0) |
virtual void | CalculateGradient (const double time, const array_1d< double, 3 > &coor, array_1d< array_1d< double, 3 >, 3 > &gradient, const int i_thread=0) |
virtual double | CalculateDivergence (const double time, const array_1d< double, 3 > &coor, const int i_thread=0) |
virtual void | CalculateRotational (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &rot, const int i_thread=0) |
virtual void | CalculateLaplacian (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &lapl, const int i_thread=0) |
virtual void | Evaluate (const double time, const DenseVector< double > &coor, DenseVector< double > &result, const int i_thread=0) |
virtual void | CalculateTimeDerivative (const double time, const DenseVector< double > &coor, DenseVector< double > &result, const int i_thread=0) |
virtual double | CalculateDivergence (const double time, const DenseVector< double > &coor, const int i_thread=0) |
virtual void | CalculateRotational (const double time, const DenseVector< double > &coor, DenseVector< double > &result, const int i_thread=0) |
virtual void | CalculateLaplacian (const double time, const DenseVector< double > &coor, DenseVector< double > &result, const int i_thread=0) |
virtual void | ResizeVectorsForParallelism (const int n_threads) |
virtual void | ImposeFieldOnNodes (ModelPart &r_model_part, const VariablesList &variables_to_be_imposed) |
Input and output | |
virtual std::string | Info () const |
Turn back information as a stemplate<class T, std::size_t dim> tring. 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... | |
|
inline |
Default constructor.
|
inline |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Reimplemented in Kratos::VelocityField.
|
inlinevirtual |
Turn back information as a stemplate<class T, std::size_t dim> tring.
Reimplemented in Kratos::VelocityField, Kratos::TimeDependantForceField, Kratos::ShearFlow1DWithExponentialViscosityField, Kratos::ProductOfSines, Kratos::PouliotFlowField2D, Kratos::PouliotFlowField, Kratos::EthierFlowField, Kratos::ConstantVelocityField, Kratos::CellularFlowField, and Kratos::TimeDependantForceField.
Kratos::VectorField< TDim >::KRATOS_CLASS_POINTER_DEFINITION | ( | VectorField< TDim > | ) |
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::VelocityField, Kratos::TimeDependantForceField, Kratos::ShearFlow1DWithExponentialViscosityField, Kratos::ProductOfSines, Kratos::PouliotFlowField2D, Kratos::PouliotFlowField, Kratos::EthierFlowField, Kratos::ConstantVelocityField, Kratos::CellularFlowField, and Kratos::TimeDependantForceField.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::VelocityField, Kratos::TimeDependantForceField, Kratos::ShearFlow1DWithExponentialViscosityField, Kratos::ProductOfSines, Kratos::PouliotFlowField2D, Kratos::PouliotFlowField, Kratos::EthierFlowField, Kratos::ConstantVelocityField, Kratos::CellularFlowField, and Kratos::TimeDependantForceField.
|
inlinevirtual |
Reimplemented in Kratos::ProductOfSines, Kratos::PouliotFlowField2D, Kratos::PouliotFlowField, Kratos::EthierFlowField, and Kratos::CellularFlowField.