NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType > Class Template Referenceabstract

#include <divOperator.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >:
NeoN::RuntimeSelectionFactory< DivOperatorFactory< ValueType >, Parameters< const Executor &, const UnstructuredMesh &, const Input & > >

Public Member Functions

 DivOperatorFactory (const Executor &exec, const UnstructuredMesh &mesh)
 
virtual ~DivOperatorFactory ()
 
virtual void div (VolumeField< ValueType > &divPhi, const SurfaceField< scalar > &faceFlux, const VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling) const =0
 
virtual void div (la::LinearSystem< ValueType, localIdx > &ls, const SurfaceField< scalar > &faceFlux, const VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling) const =0
 
virtual void div (Vector< ValueType > &divPhi, const SurfaceField< scalar > &faceFlux, const VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling) const =0
 
virtual VolumeField< ValueType > div (const SurfaceField< scalar > &faceFlux, const VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling) const =0
 
virtual std::unique_ptr< DivOperatorFactory< ValueType > > clone () const =0
 

Static Public Member Functions

static std::unique_ptr< DivOperatorFactory< ValueType > > create (const Executor &exec, const UnstructuredMesh &uMesh, const Input &inputs)
 
static std::string name ()
 

Protected Attributes

const Executor exec_
 
const UnstructuredMeshmesh_
 

Detailed Description

template<typename ValueType>
class NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >

Definition at line 21 of file divOperator.hpp.

Constructor & Destructor Documentation

◆ DivOperatorFactory()

template<typename ValueType >
NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::DivOperatorFactory ( const Executor exec,
const UnstructuredMesh mesh 
)
inline

Definition at line 41 of file divOperator.hpp.

◆ ~DivOperatorFactory()

template<typename ValueType >
virtual NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::~DivOperatorFactory ( )
inlinevirtual

Definition at line 44 of file divOperator.hpp.

Member Function Documentation

◆ clone()

template<typename ValueType >
virtual std::unique_ptr< DivOperatorFactory< ValueType > > NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::clone ( ) const
pure virtual

◆ create()

template<typename ValueType >
static std::unique_ptr< DivOperatorFactory< ValueType > > NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::create ( const Executor exec,
const UnstructuredMesh uMesh,
const Input inputs 
)
inlinestatic

Definition at line 30 of file divOperator.hpp.

◆ div() [1/4]

template<typename ValueType >
virtual VolumeField< ValueType > NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::div ( const SurfaceField< scalar > &  faceFlux,
const VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
) const
pure virtual

◆ div() [2/4]

template<typename ValueType >
virtual void NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::div ( la::LinearSystem< ValueType, localIdx > &  ls,
const SurfaceField< scalar > &  faceFlux,
const VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
) const
pure virtual

◆ div() [3/4]

template<typename ValueType >
virtual void NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::div ( Vector< ValueType > &  divPhi,
const SurfaceField< scalar > &  faceFlux,
const VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
) const
pure virtual

◆ div() [4/4]

template<typename ValueType >
virtual void NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::div ( VolumeField< ValueType > &  divPhi,
const SurfaceField< scalar > &  faceFlux,
const VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
) const
pure virtual

◆ name()

template<typename ValueType >
static std::string NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::name ( )
inlinestatic

Definition at line 39 of file divOperator.hpp.

Member Data Documentation

◆ exec_

template<typename ValueType >
const Executor NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::exec_
protected

Definition at line 77 of file divOperator.hpp.

◆ mesh_

template<typename ValueType >
const UnstructuredMesh& NeoN::finiteVolume::cellCentred::DivOperatorFactory< ValueType >::mesh_
protected

Definition at line 79 of file divOperator.hpp.


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