CubbyFlow::VectorField3 Class Referenceabstract

Abstract base class for 3-D vector field. More...

#include <Core/Field/VectorField3.h>

Inheritance diagram for CubbyFlow::VectorField3:
CubbyFlow::Field3 CubbyFlow::ConstantVectorField3 CubbyFlow::CustomVectorField3 CubbyFlow::VectorGrid3 CubbyFlow::CollocatedVectorGrid3 CubbyFlow::FaceCenteredGrid3 CubbyFlow::CellCenteredVectorGrid3 CubbyFlow::VertexCenteredVectorGrid3

Public Member Functions

 VectorField3 ()
 Default constructor. More...
 
virtual ~VectorField3 ()
 Default destructor. More...
 
virtual Vector3D Sample (const Vector3D &x) const =0
 Returns sampled value at given position x. More...
 
virtual double Divergence (const Vector3D &x) const
 Returns divergence at given position x. More...
 
virtual Vector3D Curl (const Vector3D &x) const
 Returns curl at given position x. More...
 
virtual std::function< Vector3D(const Vector3D &)> Sampler () const
 Returns sampler function object. More...
 
- Public Member Functions inherited from CubbyFlow::Field3
 Field3 ()
 
virtual ~Field3 ()
 

Detailed Description

Abstract base class for 3-D vector field.

Constructor & Destructor Documentation

◆ VectorField3()

CubbyFlow::VectorField3::VectorField3 ( )

Default constructor.

◆ ~VectorField3()

virtual CubbyFlow::VectorField3::~VectorField3 ( )
virtual

Default destructor.

Member Function Documentation

◆ Curl()

virtual Vector3D CubbyFlow::VectorField3::Curl ( const Vector3D x) const
virtual

Returns curl at given position x.

Reimplemented in CubbyFlow::FaceCenteredGrid3, CubbyFlow::CollocatedVectorGrid3, and CubbyFlow::CustomVectorField3.

◆ Divergence()

virtual double CubbyFlow::VectorField3::Divergence ( const Vector3D x) const
virtual

Returns divergence at given position x.

Reimplemented in CubbyFlow::FaceCenteredGrid3, CubbyFlow::CollocatedVectorGrid3, and CubbyFlow::CustomVectorField3.

◆ Sample()

virtual Vector3D CubbyFlow::VectorField3::Sample ( const Vector3D x) const
pure virtual

◆ Sampler()

virtual std::function<Vector3D(const Vector3D&)> CubbyFlow::VectorField3::Sampler ( ) const
virtual

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