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.
Public Member Functions | List of all members
Kratos::TimeDependantForceField Class Reference

#include <time_dependant_1D_porosity_field.h>

Inheritance diagram for Kratos::TimeDependantForceField:
Collaboration diagram for Kratos::TimeDependantForceField:

Public Member Functions

 TimeDependantForceField (const double max_time)
 
virtual ~TimeDependantForceField ()
 
double Evaluate (const double time, const array_1d< double, 3 > &coor)
 
double CalculateTimeDerivative (const double time, const array_1d< double, 3 > &coor)
 
void CalculateGradient (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &gradient)
 
void CalculateLaplacian (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &laplacian)
 
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...
 
 KRATOS_CLASS_POINTER_DEFINITION (TimeDependantForceField)
 
 TimeDependantForceField (const double max_time)
 
virtual ~TimeDependantForceField ()
 
void Evaluate (const double time, const array_1d< double, 3 > &coor, array_1d< double, 3 > &vector, const int i_thread=0) override
 
TimeDependantPorosityField GetPorosityField ()
 
std::string Info () const override
 Turn back information as a stemplate<class T, std::size_t dim> tring. More...
 
void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::VectorField< 3 >
 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 DenseVector< double > &coor, DenseVector< double > &result, 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 CalculateTimeDerivative (const double time, const DenseVector< double > &coor, DenseVector< double > &result, 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 double CalculateDivergence (const double time, const DenseVector< double > &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 CalculateRotational (const double time, const DenseVector< double > &coor, DenseVector< double > &result, 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 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)
 

Constructor & Destructor Documentation

◆ TimeDependantForceField() [1/2]

Kratos::TimeDependantForceField::TimeDependantForceField ( const double  max_time)
inline

◆ ~TimeDependantForceField() [1/2]

virtual Kratos::TimeDependantForceField::~TimeDependantForceField ( )
inlinevirtual

◆ TimeDependantForceField() [2/2]

Kratos::TimeDependantForceField::TimeDependantForceField ( const double  max_time)
inline

◆ ~TimeDependantForceField() [2/2]

virtual Kratos::TimeDependantForceField::~TimeDependantForceField ( )
inlinevirtual

Member Function Documentation

◆ CalculateGradient()

void Kratos::TimeDependantForceField::CalculateGradient ( const double  time,
const array_1d< double, 3 > &  coor,
array_1d< double, 3 > &  gradient 
)
inlinevirtual

Reimplemented from Kratos::RealField.

◆ CalculateLaplacian()

void Kratos::TimeDependantForceField::CalculateLaplacian ( const double  time,
const array_1d< double, 3 > &  coor,
array_1d< double, 3 > &  laplacian 
)
inlinevirtual

Reimplemented from Kratos::RealField.

◆ CalculateTimeDerivative()

double Kratos::TimeDependantForceField::CalculateTimeDerivative ( const double  time,
const array_1d< double, 3 > &  coor 
)
inlinevirtual

Reimplemented from Kratos::RealField.

◆ Evaluate() [1/2]

double Kratos::TimeDependantForceField::Evaluate ( const double  time,
const array_1d< double, 3 > &  coor 
)
inlinevirtual

Reimplemented from Kratos::RealField.

◆ Evaluate() [2/2]

void Kratos::TimeDependantForceField::Evaluate ( const double  time,
const array_1d< double, 3 > &  coor,
array_1d< double, 3 > &  vector,
const int  i_thread = 0 
)
inlineoverridevirtual

Reimplemented from Kratos::VectorField< 3 >.

◆ GetPorosityField()

TimeDependantPorosityField Kratos::TimeDependantForceField::GetPorosityField ( )
inline

◆ Info() [1/2]

virtual std::string Kratos::TimeDependantForceField::Info ( ) const
inlinevirtual

Turn back information as a stemplate<class T, std::size_t dim> tring.

Reimplemented from Kratos::RealField.

◆ Info() [2/2]

std::string Kratos::TimeDependantForceField::Info ( ) const
inlineoverridevirtual

Turn back information as a stemplate<class T, std::size_t dim> tring.

Reimplemented from Kratos::RealField.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::TimeDependantForceField::KRATOS_CLASS_POINTER_DEFINITION ( TimeDependantForceField  )

◆ PrintData() [1/2]

virtual void Kratos::TimeDependantForceField::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

Reimplemented from Kratos::RealField.

◆ PrintData() [2/2]

void Kratos::TimeDependantForceField::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::RealField.

◆ PrintInfo() [1/2]

virtual void Kratos::TimeDependantForceField::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

Reimplemented from Kratos::RealField.

◆ PrintInfo() [2/2]

void Kratos::TimeDependantForceField::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::RealField.


The documentation for this class was generated from the following files: