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

#include <laplacianOperator.hpp>

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

Public Member Functions

 LaplacianOperatorFactory (const Executor &exec, const UnstructuredMesh &mesh)
 
virtual ~LaplacianOperatorFactory ()
 
virtual la::LinearSystem< ValueType, localIdxcreateEmptyLinearSystem () const =0
 
virtual void laplacian (VolumeField< ValueType > &lapPhi, const SurfaceField< scalar > &gamma, VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling)=0
 
virtual void laplacian (Field< ValueType > &lapPhi, const SurfaceField< scalar > &gamma, VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling)=0
 
virtual void laplacian (la::LinearSystem< ValueType, localIdx > &ls, const SurfaceField< scalar > &gamma, VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling)=0
 
virtual std::unique_ptr< LaplacianOperatorFactory< ValueType > > clone () const =0
 

Static Public Member Functions

static std::unique_ptr< LaplacianOperatorFactory< 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 NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >

Definition at line 22 of file laplacianOperator.hpp.

Constructor & Destructor Documentation

◆ LaplacianOperatorFactory()

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

Definition at line 42 of file laplacianOperator.hpp.

◆ ~LaplacianOperatorFactory()

template<typename ValueType >
virtual NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::~LaplacianOperatorFactory ( )
inlinevirtual

Definition at line 45 of file laplacianOperator.hpp.

Member Function Documentation

◆ clone()

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

◆ create()

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

Definition at line 31 of file laplacianOperator.hpp.

◆ createEmptyLinearSystem()

template<typename ValueType >
virtual la::LinearSystem< ValueType, localIdx > NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::createEmptyLinearSystem ( ) const
pure virtual

◆ laplacian() [1/3]

template<typename ValueType >
virtual void NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::laplacian ( Field< ValueType > &  lapPhi,
const SurfaceField< scalar > &  gamma,
VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
)
pure virtual

◆ laplacian() [2/3]

template<typename ValueType >
virtual void NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::laplacian ( la::LinearSystem< ValueType, localIdx > &  ls,
const SurfaceField< scalar > &  gamma,
VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
)
pure virtual

◆ laplacian() [3/3]

template<typename ValueType >
virtual void NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::laplacian ( VolumeField< ValueType > &  lapPhi,
const SurfaceField< scalar > &  gamma,
VolumeField< ValueType > &  phi,
const dsl::Coeff  operatorScaling 
)
pure virtual

◆ name()

template<typename ValueType >
static std::string NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::name ( )
inlinestatic

Definition at line 40 of file laplacianOperator.hpp.

Member Data Documentation

◆ exec_

template<typename ValueType >
const Executor NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::exec_
protected

Definition at line 75 of file laplacianOperator.hpp.

◆ mesh_

template<typename ValueType >
const UnstructuredMesh& NeoFOAM::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::mesh_
protected

Definition at line 77 of file laplacianOperator.hpp.


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