NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoFOAM::finiteVolume::cellCentred::DivOperator Class Reference

#include <divOperator.hpp>

Inheritance diagram for NeoFOAM::finiteVolume::cellCentred::DivOperator:
NeoFOAM::dsl::OperatorMixin< VolumeField< scalar > >

Public Member Functions

 DivOperator (const DivOperator &divOp)
 
 DivOperator (dsl::Operator::Type termType, const SurfaceField< scalar > &faceFlux, VolumeField< scalar > &phi, Input input)
 
 DivOperator (dsl::Operator::Type termType, const SurfaceField< scalar > &faceFlux, VolumeField< scalar > &phi, std::unique_ptr< DivOperatorFactory > divOperatorStrategy)
 
 DivOperator (dsl::Operator::Type termType, const SurfaceField< scalar > &faceFlux, VolumeField< scalar > &phi)
 
void explicitOperation (Field< scalar > &source)
 
void div (Field< scalar > &divPhi)
 
void div (VolumeField< scalar > &divPhi)
 
void build (const Input &input)
 
std::string getName () const
 
- Public Member Functions inherited from NeoFOAM::dsl::OperatorMixin< VolumeField< scalar > >
 OperatorMixin (const Executor exec, VolumeField< scalar > &field, Operator::Type type)
 
Operator::Type getType () const
 
virtual ~OperatorMixin ()=default
 
virtual const Executorexec () const final
 
CoeffgetCoefficient ()
 
const CoeffgetCoefficient () const
 
VolumeField< scalar > & getField ()
 
const VolumeField< scalar > & getField () const
 
void build (const Input &input)
 

Additional Inherited Members

- Protected Attributes inherited from NeoFOAM::dsl::OperatorMixin< VolumeField< scalar > >
const Executor exec_
 Executor associated with the field. (CPU, GPU, openMP, etc.)
 
Coeff coeffs_
 
VolumeField< scalar > & field_
 
Operator::Type type_
 

Detailed Description

Definition at line 64 of file divOperator.hpp.

Constructor & Destructor Documentation

◆ DivOperator() [1/4]

NeoFOAM::finiteVolume::cellCentred::DivOperator::DivOperator ( const DivOperator divOp)
inline

Definition at line 70 of file divOperator.hpp.

◆ DivOperator() [2/4]

NeoFOAM::finiteVolume::cellCentred::DivOperator::DivOperator ( dsl::Operator::Type  termType,
const SurfaceField< scalar > &  faceFlux,
VolumeField< scalar > &  phi,
Input  input 
)
inline

Definition at line 77 of file divOperator.hpp.

◆ DivOperator() [3/4]

NeoFOAM::finiteVolume::cellCentred::DivOperator::DivOperator ( dsl::Operator::Type  termType,
const SurfaceField< scalar > &  faceFlux,
VolumeField< scalar > &  phi,
std::unique_ptr< DivOperatorFactory divOperatorStrategy 
)
inline

Definition at line 86 of file divOperator.hpp.

◆ DivOperator() [4/4]

NeoFOAM::finiteVolume::cellCentred::DivOperator::DivOperator ( dsl::Operator::Type  termType,
const SurfaceField< scalar > &  faceFlux,
VolumeField< scalar > &  phi 
)
inline

Definition at line 95 of file divOperator.hpp.

Member Function Documentation

◆ build()

void NeoFOAM::finiteVolume::cellCentred::DivOperator::build ( const Input input)
inline

Definition at line 121 of file divOperator.hpp.

◆ div() [1/2]

void NeoFOAM::finiteVolume::cellCentred::DivOperator::div ( Field< scalar > &  divPhi)
inline

Definition at line 113 of file divOperator.hpp.

◆ div() [2/2]

void NeoFOAM::finiteVolume::cellCentred::DivOperator::div ( VolumeField< scalar > &  divPhi)
inline

Definition at line 115 of file divOperator.hpp.

◆ explicitOperation()

void NeoFOAM::finiteVolume::cellCentred::DivOperator::explicitOperation ( Field< scalar > &  source)
inline

Definition at line 102 of file divOperator.hpp.

◆ getName()

std::string NeoFOAM::finiteVolume::cellCentred::DivOperator::getName ( ) const
inline

Definition at line 138 of file divOperator.hpp.


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