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

#include <sourceTerm.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >:
NeoN::dsl::OperatorMixin< VolumeField< ValueType > >

Public Types

using VectorValueType = ValueType

Public Member Functions

 SourceTerm (dsl::Operator::Type termType, const VolumeField< scalar > &coefficients, const VolumeField< ValueType > &field, bool suSp=false)
 SourceTerm (dsl::Operator::Type termType, VolumeField< ValueType > &coefficients)
 ~SourceTerm ()
void explicitOperation (Vector< ValueType > &source) const
void implicitOperation (la::LinearSystem< ValueType > &ls) const
void read (const Input &)
std::string getName () const
Dictionary getConfig () const
Public Member Functions inherited from NeoN::dsl::OperatorMixin< VolumeField< ValueType > >
 OperatorMixin (const Executor exec, const Coeff &coeffs, const VolumeField< ValueType > &field, Operator::Type type)
Operator::Type getType () const
virtual ~OperatorMixin ()=default
virtual const Executor & exec () const final
Coeff & getCoefficient ()
const VolumeField< ValueType > & getVector () const
void read (const Input &input)

Additional Inherited Members

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

Detailed Description

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

Definition at line 19 of file sourceTerm.hpp.

Member Typedef Documentation

◆ VectorValueType

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

Definition at line 24 of file sourceTerm.hpp.

Constructor & Destructor Documentation

◆ SourceTerm() [1/2]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >::SourceTerm ( dsl::Operator::Type termType,
const VolumeField< scalar > & coefficients,
const VolumeField< ValueType > & field,
bool suSp = false )

◆ SourceTerm() [2/2]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >::SourceTerm ( dsl::Operator::Type termType,
VolumeField< ValueType > & coefficients )

◆ ~SourceTerm()

template<typename ValueType>
NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >::~SourceTerm ( )

Member Function Documentation

◆ explicitOperation()

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

◆ getConfig()

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

Definition at line 53 of file sourceTerm.hpp.

◆ getName()

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

Definition at line 50 of file sourceTerm.hpp.

◆ implicitOperation()

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

◆ read()

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

Definition at line 48 of file sourceTerm.hpp.


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