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

#include <gradOperator.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::GradOperator< ValueType >:
NeoN::dsl::OperatorMixin< VolumeField< ValueType >, VolumeField< scalar > >

Public Types

using VectorValueType = ValueType

Public Member Functions

 GradOperator (const GradOperator &gradOp)
 GradOperator (dsl::Operator::Type termType, const VolumeField< scalar > &phi, const Input &input)
 GradOperator (dsl::Operator::Type termType, const VolumeField< scalar > &phi, std::unique_ptr< GradOperatorFactory< ValueType > > gradOperatorStrategy)
 GradOperator (dsl::Operator::Type termType, const VolumeField< scalar > &phi)
void explicitOperation (Vector< Vec3 > &source) const
void implicitOperation (la::LinearSystem< ValueType > &ls) const
void grad (auto &&... args) const
void read (const Input &input)
std::string getName () const
Dictionary getConfig () const
Public Member Functions inherited from NeoN::dsl::OperatorMixin< VolumeField< ValueType >, VolumeField< scalar > >
 OperatorMixin (const Executor exec, const Coeff &coeffs, const VolumeField< scalar > &field, Operator::Type type)
Operator::Type getType () const
virtual ~OperatorMixin ()=default
virtual const Executor & exec () const final
Coeff & getCoefficient ()
const VolumeField< scalar > & getVector () const
void read (const Input &input)

Additional Inherited Members

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

Detailed Description

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

Definition at line 108 of file gradOperator.hpp.

Member Typedef Documentation

◆ VectorValueType

template<typename ValueType>
using NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::VectorValueType = ValueType

Definition at line 113 of file gradOperator.hpp.

Constructor & Destructor Documentation

◆ GradOperator() [1/4]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::GradOperator ( const GradOperator< ValueType > & gradOp)
inline

Definition at line 116 of file gradOperator.hpp.

◆ GradOperator() [2/4]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::GradOperator ( dsl::Operator::Type termType,
const VolumeField< scalar > & phi,
const Input & input )
inline

Definition at line 124 of file gradOperator.hpp.

◆ GradOperator() [3/4]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::GradOperator ( dsl::Operator::Type termType,
const VolumeField< scalar > & phi,
std::unique_ptr< GradOperatorFactory< ValueType > > gradOperatorStrategy )
inline

Definition at line 132 of file gradOperator.hpp.

◆ GradOperator() [4/4]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::GradOperator ( dsl::Operator::Type termType,
const VolumeField< scalar > & phi )
inline

Definition at line 142 of file gradOperator.hpp.

Member Function Documentation

◆ explicitOperation()

template<typename ValueType>
void NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::explicitOperation ( Vector< Vec3 > & source) const
inline

Definition at line 149 of file gradOperator.hpp.

◆ getConfig()

template<typename ValueType>
Dictionary NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::getConfig ( ) const
inline

Definition at line 196 of file gradOperator.hpp.

◆ getName()

template<typename ValueType>
std::string NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::getName ( ) const
inline

Definition at line 194 of file gradOperator.hpp.

◆ grad()

template<typename ValueType>
void NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::grad ( auto &&... args) const
inline

Definition at line 167 of file gradOperator.hpp.

◆ implicitOperation()

template<typename ValueType>
void NeoN::finiteVolume::cellCentred::GradOperator< ValueType >::implicitOperation ( la::LinearSystem< ValueType > & ls) const
inline

Definition at line 159 of file gradOperator.hpp.

◆ read()

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

Definition at line 175 of file gradOperator.hpp.


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