Abstract base class for N-D vector field. More...
#include <Core/Field/VectorField.hpp>
Public Member Functions | |
| VectorField ()=default | |
| Default constructor. More... | |
| ~VectorField () override=default | |
| Default destructor. More... | |
| VectorField (const VectorField &)=default | |
| Default copy constructor. More... | |
| VectorField (VectorField &&) noexcept=default | |
| Default move constructor. More... | |
| VectorField & | operator= (const VectorField &)=default |
| Default copy assignment operator. More... | |
| VectorField & | operator= (VectorField &&) noexcept=default |
| Default move assignment operator. More... | |
| virtual Vector< double, N > | Sample (const Vector< double, N > &x) const =0 |
Returns sampled value at given position x. More... | |
| virtual double | Divergence (const Vector< double, N > &x) const |
Returns divergence at given position x. More... | |
| virtual GetCurl< N >::Type | Curl (const Vector< double, N > &x) const |
Returns curl at given position x. More... | |
| virtual std::function< Vector< double, N >const Vector< double, N > &)> | Sampler () const |
| Returns sampler function object. More... | |
Public Member Functions inherited from CubbyFlow::Field< N > | |
| Field ()=default | |
| Default constructor. More... | |
| virtual | ~Field ()=default |
| Default virtual destructor. More... | |
| Field (const Field &)=default | |
| Default copy constructor. More... | |
| Field (Field &&) noexcept=default | |
| Default move constructor. More... | |
| Field & | operator= (const Field &)=default |
| Default copy assignment operator. More... | |
| Field & | operator= (Field &&) noexcept=default |
| Default move assignment operator. More... | |
Detailed Description
template<size_t N>
class CubbyFlow::VectorField< N >
Abstract base class for N-D vector field.
Constructor & Destructor Documentation
◆ VectorField() [1/3]
|
default |
Default constructor.
◆ ~VectorField()
|
overridedefault |
Default destructor.
◆ VectorField() [2/3]
|
default |
Default copy constructor.
◆ VectorField() [3/3]
|
defaultnoexcept |
Default move constructor.
Member Function Documentation
◆ Curl()
|
virtual |
Returns curl at given position x.
Reimplemented in CubbyFlow::FaceCenteredGrid< N >, CubbyFlow::CollocatedVectorGrid< N >, and CubbyFlow::CustomVectorField< N >.
◆ Divergence()
|
virtual |
Returns divergence at given position x.
Reimplemented in CubbyFlow::FaceCenteredGrid< N >, CubbyFlow::CollocatedVectorGrid< N >, and CubbyFlow::CustomVectorField< N >.
◆ operator=() [1/2]
|
default |
Default copy assignment operator.
◆ operator=() [2/2]
|
defaultnoexcept |
Default move assignment operator.
◆ Sample()
|
pure virtual |
Returns sampled value at given position x.
Implemented in CubbyFlow::FaceCenteredGrid< N >, CubbyFlow::CollocatedVectorGrid< N >, CubbyFlow::CustomVectorField< N >, and CubbyFlow::ConstantVectorField< N >.
◆ Sampler()
|
virtual |
Returns sampler function object.
Reimplemented in CubbyFlow::FaceCenteredGrid< N >, CubbyFlow::CollocatedVectorGrid< N >, CubbyFlow::CustomVectorField< N >, and CubbyFlow::ConstantVectorField< N >.
The documentation for this class was generated from the following file:
- Core/Field/VectorField.hpp
Public Member Functions inherited from
1.8.13