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 | Protected Member Functions | List of all members
Kratos::BoundingBoxRule Class Reference

#include <space_time_rule.h>

Inheritance diagram for Kratos::BoundingBoxRule:
Collaboration diagram for Kratos::BoundingBoxRule:

Public Member Functions

 BoundingBoxRule ()
 
 BoundingBoxRule (const double min_time, const double max_time, const double min_x, const double max_x, const double min_y, const double max_y, const double min_z, const double max_z)
 
 ~BoundingBoxRule ()
 
void SetTimeBoundingInterval (const double &low, const double &high)
 
void SetXBoundingInterval (const double &low, const double &high)
 
void SetYBoundingInterval (const double &low, const double &high)
 
void SetZBoundingInterval (const double &low, const double &high)
 
void SetSpaceTimeBoundingBox (const array_1d< double, 4 > &low, const array_1d< double, 4 > &high)
 
bool CheckIfRuleIsMet (const double time, const double coor_x, const double coor_y, const double coor_z) override
 
virtual std::string Info () const override
 Turn back information as a stemplate<class T, std::size_t dim> tring. More...
 
void PrintData (std::ostream &rOStream=std::cout) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::SpaceTimeRule
 KRATOS_CLASS_POINTER_DEFINITION (SpaceTimeRule)
 
 SpaceTimeRule ()
 Default constructor. More...
 
virtual ~SpaceTimeRule ()
 Destructor. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 

Protected Member Functions

void Check ()
 

Constructor & Destructor Documentation

◆ BoundingBoxRule() [1/2]

Kratos::BoundingBoxRule::BoundingBoxRule ( )
inline

◆ BoundingBoxRule() [2/2]

Kratos::BoundingBoxRule::BoundingBoxRule ( const double  min_time,
const double  max_time,
const double  min_x,
const double  max_x,
const double  min_y,
const double  max_y,
const double  min_z,
const double  max_z 
)
inline

◆ ~BoundingBoxRule()

Kratos::BoundingBoxRule::~BoundingBoxRule ( )
inline

Member Function Documentation

◆ Check()

void Kratos::BoundingBoxRule::Check ( )
inlineprotected

◆ CheckIfRuleIsMet()

bool Kratos::BoundingBoxRule::CheckIfRuleIsMet ( const double  time,
const double  coor_x,
const double  coor_y,
const double  coor_z 
)
inlineoverridevirtual

Reimplemented from Kratos::SpaceTimeRule.

◆ Info()

virtual std::string Kratos::BoundingBoxRule::Info ( ) const
inlineoverridevirtual

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

Reimplemented from Kratos::SpaceTimeRule.

◆ PrintData()

void Kratos::BoundingBoxRule::PrintData ( std::ostream &  rOStream = std::cout) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::SpaceTimeRule.

◆ SetSpaceTimeBoundingBox()

void Kratos::BoundingBoxRule::SetSpaceTimeBoundingBox ( const array_1d< double, 4 > &  low,
const array_1d< double, 4 > &  high 
)
inline

◆ SetTimeBoundingInterval()

void Kratos::BoundingBoxRule::SetTimeBoundingInterval ( const double low,
const double high 
)
inline

◆ SetXBoundingInterval()

void Kratos::BoundingBoxRule::SetXBoundingInterval ( const double low,
const double high 
)
inline

◆ SetYBoundingInterval()

void Kratos::BoundingBoxRule::SetYBoundingInterval ( const double low,
const double high 
)
inline

◆ SetZBoundingInterval()

void Kratos::BoundingBoxRule::SetZBoundingInterval ( const double low,
const double high 
)
inline

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