NeoN
A framework for CFD software
Loading...
Searching...
No Matches
NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType > Class Template Reference

#include <divOperator.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >:
NeoN::dsl::OperatorMixin< VolumeField< FieldValueType > >

Public Types

using VectorValueType = FieldValueType

Public Member Functions

 DivOperator (const DivOperator &divOp)
 DivOperator (dsl::Operator::Type termType, const SurfaceField< scalar > &faceFlux, const VolumeField< FieldValueType > &phi, Input input)
 DivOperator (dsl::Operator::Type termType, const SurfaceField< scalar > &faceFlux, const VolumeField< FieldValueType > &phi)
void explicitOperation (Vector< FieldValueType > &source) const
void implicitOperation (la::LinearSystem< FieldValueType, FieldValueType > &ls) const
template<typename F = FieldValueType>
requires (!std::is_same_v<F, scalar>)
void implicitOperation (la::LinearSystem< scalar, FieldValueType > &ls) const
void read (const Input &input)
std::string getName () const
Dictionary getConfig () const
Public Member Functions inherited from NeoN::dsl::OperatorMixin< VolumeField< FieldValueType > >
 OperatorMixin (const Executor exec, const Coeff &coeffs, const VolumeField< FieldValueType > &field, Operator::Type type)
Operator::Type getType () const
virtual ~OperatorMixin ()=default
virtual const Executor & exec () const final
Coeff & getCoefficient ()
const VolumeField< FieldValueType > & getVector () const
void read (const Input &input)

Additional Inherited Members

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

Detailed Description

template<typename FieldValueType>
class NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >

Definition at line 83 of file divOperator.hpp.

Member Typedef Documentation

◆ VectorValueType

template<typename FieldValueType>
using NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::VectorValueType = FieldValueType

Definition at line 88 of file divOperator.hpp.

Constructor & Destructor Documentation

◆ DivOperator() [1/3]

template<typename FieldValueType>
NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::DivOperator ( const DivOperator< FieldValueType > & divOp)
inline

Definition at line 91 of file divOperator.hpp.

◆ DivOperator() [2/3]

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

Definition at line 101 of file divOperator.hpp.

◆ DivOperator() [3/3]

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

Definition at line 129 of file divOperator.hpp.

Member Function Documentation

◆ explicitOperation()

template<typename FieldValueType>
void NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::explicitOperation ( Vector< FieldValueType > & source) const
inline

Definition at line 140 of file divOperator.hpp.

◆ getConfig()

template<typename FieldValueType>
Dictionary NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::getConfig ( ) const
inline

Definition at line 197 of file divOperator.hpp.

◆ getName()

template<typename FieldValueType>
std::string NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::getName ( ) const
inline

Definition at line 194 of file divOperator.hpp.

◆ implicitOperation() [1/2]

template<typename FieldValueType>
void NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::implicitOperation ( la::LinearSystem< FieldValueType, FieldValueType > & ls) const
inline

Definition at line 150 of file divOperator.hpp.

◆ implicitOperation() [2/2]

template<typename FieldValueType>
template<typename F = FieldValueType>
requires (!std::is_same_v<F, scalar>)
void NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::implicitOperation ( la::LinearSystem< scalar, FieldValueType > & ls) const
inline

Definition at line 163 of file divOperator.hpp.

◆ read()

template<typename FieldValueType>
void NeoN::finiteVolume::cellCentred::DivOperator< FieldValueType >::read ( const Input & input)
inline

Definition at line 170 of file divOperator.hpp.


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