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::LaplacianOperatorFactory< ValueType > Class Template Referenceabstract

#include <laplacianOperator.hpp>

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

Public Member Functions

 LaplacianOperatorFactory (const Executor &exec, const UnstructuredMesh &mesh)
 
virtual ~LaplacianOperatorFactory ()
 
virtual void laplacian (VolumeField< ValueType > &lapPhi, const SurfaceField< scalar > &gamma, VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling)=0
 
virtual VolumeField< ValueType > laplacian (const SurfaceField< scalar > &gamma, VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling) const =0
 
virtual void laplacian (Vector< 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 NeoN::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >

Definition at line 23 of file laplacianOperator.hpp.

Constructor & Destructor Documentation

◆ LaplacianOperatorFactory()

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

Definition at line 43 of file laplacianOperator.hpp.

◆ ~LaplacianOperatorFactory()

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

Definition at line 46 of file laplacianOperator.hpp.

Member Function Documentation

◆ clone()

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

◆ create()

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

Definition at line 32 of file laplacianOperator.hpp.

◆ laplacian() [1/4]

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

◆ laplacian() [2/4]

template<typename ValueType >
virtual void NeoN::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/4]

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

◆ laplacian() [4/4]

template<typename ValueType >
virtual void NeoN::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 NeoN::finiteVolume::cellCentred::LaplacianOperatorFactory< ValueType >::name ( )
inlinestatic

Definition at line 41 of file laplacianOperator.hpp.

Member Data Documentation

◆ exec_

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

Definition at line 80 of file laplacianOperator.hpp.

◆ mesh_

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

Definition at line 82 of file laplacianOperator.hpp.


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