BioDynaMo  v1.05.120-25dc9790
Public Member Functions | List of all members
bdm::VectorField Class Referenceabstract

Interface for vector fields. See Continuum for more information. More...

#include <continuum_interface.h>

Inheritance diagram for bdm::VectorField:
[legend]
Collaboration diagram for bdm::VectorField:
[legend]

Public Member Functions

 VectorField ()=default
 
 VectorField (const TRootIOCtor *)
 
 ~VectorField () override=default
 
virtual Real3 GetValue (const Real3 &position) const =0
 Returns the value of the vector field at the given position. More...
 
virtual real_t GetDiv (const Real3 &position) const =0
 Returns the divergence of the vector field at the given position. More...
 
virtual real_t GetCurl (const Real3 &position) const =0
 Returns the curl of the vector field at the given position. More...
 
 BDM_CLASS_DEF_OVERRIDE (VectorField, 1)
 
- Public Member Functions inherited from bdm::Continuum
 Continuum ()=default
 
 Continuum (const TRootIOCtor *)
 
virtual ~Continuum ()=default
 
void IntegrateTimeAsynchronously (real_t dt)
 
virtual void Initialize ()=0
 
virtual void Update ()=0
 
virtual void Step (real_t dt)=0
 
int GetContinuumId () const
 Returns the ID of the continuum. More...
 
void SetContinuumId (int id)
 Sets the ID of the continuum. More...
 
const std::string & GetContinuumName () const
 Returns the name of the continuum. More...
 
void SetContinuumName (const std::string &name)
 Sets the name of the continuum. More...
 
real_t GetSimulatedTime () const
 Returns the time simulated by the continuum. More...
 
void SetTimeStep (real_t dt)
 
real_t GetTimeStep () const
 Returns the time step for the continuum. More...
 

Detailed Description

Interface for vector fields. See Continuum for more information.

Definition at line 148 of file continuum_interface.h.

Constructor & Destructor Documentation

◆ VectorField() [1/2]

bdm::VectorField::VectorField ( )
default

◆ VectorField() [2/2]

bdm::VectorField::VectorField ( const TRootIOCtor *  )
inlineexplicit

Definition at line 151 of file continuum_interface.h.

◆ ~VectorField()

bdm::VectorField::~VectorField ( )
overridedefault

Member Function Documentation

◆ BDM_CLASS_DEF_OVERRIDE()

bdm::VectorField::BDM_CLASS_DEF_OVERRIDE ( VectorField  ,
 
)

◆ GetCurl()

virtual real_t bdm::VectorField::GetCurl ( const Real3 position) const
pure virtual

Returns the curl of the vector field at the given position.

◆ GetDiv()

virtual real_t bdm::VectorField::GetDiv ( const Real3 position) const
pure virtual

Returns the divergence of the vector field at the given position.

◆ GetValue()

virtual Real3 bdm::VectorField::GetValue ( const Real3 position) const
pure virtual

Returns the value of the vector field at the given position.


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