CubbyFlow::VectorGridBuilder< N > Class Template Referenceabstract

Abstract base class for N-D vector grid builder. More...

#include <Core/Grid/VectorGrid.hpp>

Inheritance diagram for CubbyFlow::VectorGridBuilder< N >:
CubbyFlow::CellCenteredVectorGrid< N >::Builder CubbyFlow::FaceCenteredGrid< N >::Builder CubbyFlow::VertexCenteredVectorGrid< N >::Builder

Public Member Functions

 VectorGridBuilder ()=default
 Creates a builder. More...
 
virtual ~VectorGridBuilder ()=default
 Default virtual destructor. More...
 
 VectorGridBuilder (const VectorGridBuilder &other)=delete
 Deleted copy constructor. More...
 
 VectorGridBuilder (VectorGridBuilder &&other) noexcept=delete
 Deleted move constructor. More...
 
VectorGridBuilderoperator= (const VectorGridBuilder &other)=delete
 Deleted copy assignment operator. More...
 
VectorGridBuilderoperator= (VectorGridBuilder &&other) noexcept=delete
 Deleted move assignment operator. More...
 
virtual std::shared_ptr< VectorGrid< N > > Build (const Vector< size_t, N > &resolution, const Vector< double, N > &gridSpacing, const Vector< double, N > &gridOrigin, const Vector< double, N > &initialVal) const =0
 Returns N-D vector grid with given parameters. More...
 

Detailed Description

template<size_t N>
class CubbyFlow::VectorGridBuilder< N >

Abstract base class for N-D vector grid builder.

Constructor & Destructor Documentation

◆ VectorGridBuilder() [1/3]

template<size_t N>
CubbyFlow::VectorGridBuilder< N >::VectorGridBuilder ( )
default

Creates a builder.

◆ ~VectorGridBuilder()

template<size_t N>
virtual CubbyFlow::VectorGridBuilder< N >::~VectorGridBuilder ( )
virtualdefault

Default virtual destructor.

◆ VectorGridBuilder() [2/3]

template<size_t N>
CubbyFlow::VectorGridBuilder< N >::VectorGridBuilder ( const VectorGridBuilder< N > &  other)
delete

Deleted copy constructor.

◆ VectorGridBuilder() [3/3]

template<size_t N>
CubbyFlow::VectorGridBuilder< N >::VectorGridBuilder ( VectorGridBuilder< N > &&  other)
deletenoexcept

Deleted move constructor.

Member Function Documentation

◆ Build()

template<size_t N>
virtual std::shared_ptr<VectorGrid<N> > CubbyFlow::VectorGridBuilder< N >::Build ( const Vector< size_t, N > &  resolution,
const Vector< double, N > &  gridSpacing,
const Vector< double, N > &  gridOrigin,
const Vector< double, N > &  initialVal 
) const
pure virtual

◆ operator=() [1/2]

template<size_t N>
VectorGridBuilder& CubbyFlow::VectorGridBuilder< N >::operator= ( const VectorGridBuilder< N > &  other)
delete

Deleted copy assignment operator.

◆ operator=() [2/2]

template<size_t N>
VectorGridBuilder& CubbyFlow::VectorGridBuilder< N >::operator= ( VectorGridBuilder< N > &&  other)
deletenoexcept

Deleted move assignment operator.


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