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 | Public Attributes | List of all members
Kratos::StationarityChecker Class Reference

#include <stationarity_checker.h>

Collaboration diagram for Kratos::StationarityChecker:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (StationarityChecker)
 
 StationarityChecker ()
 
virtual ~StationarityChecker ()
 
bool CheckIfItsTimeToChangeGravity (ModelPart &rSpheresModelPart, const double velocity_threshold_for_gravity_change, const double min_time_between_changes, const double max_time_between_changes)
 
bool CheckIfVariableIsNullInModelPart (ModelPart &rSpheresModelPart, const Variable< double > &var, const double tolerance, const bool ignore_isolated_particles)
 
virtual std::string Info () const
 
virtual void PrintInfo (std::ostream &rOStream) const
 
virtual void PrintData (std::ostream &rOStream) const
 

Public Attributes

double mPreviousChangeTime
 

Constructor & Destructor Documentation

◆ StationarityChecker()

Kratos::StationarityChecker::StationarityChecker ( )

◆ ~StationarityChecker()

Kratos::StationarityChecker::~StationarityChecker ( )
virtual

Member Function Documentation

◆ CheckIfItsTimeToChangeGravity()

bool Kratos::StationarityChecker::CheckIfItsTimeToChangeGravity ( ModelPart rSpheresModelPart,
const double  velocity_threshold_for_gravity_change,
const double  min_time_between_changes,
const double  max_time_between_changes 
)

◆ CheckIfVariableIsNullInModelPart()

bool Kratos::StationarityChecker::CheckIfVariableIsNullInModelPart ( ModelPart rSpheresModelPart,
const Variable< double > &  var,
const double  tolerance,
const bool  ignore_isolated_particles 
)

◆ Info()

std::string Kratos::StationarityChecker::Info ( ) const
virtual

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::StationarityChecker::KRATOS_CLASS_POINTER_DEFINITION ( StationarityChecker  )

◆ PrintData()

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

◆ PrintInfo()

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

Member Data Documentation

◆ mPreviousChangeTime

double Kratos::StationarityChecker::mPreviousChangeTime

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