NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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 Member Functions

 SourceTerm (dsl::Operator::Type termType, VolumeField< scalar > &coefficients, VolumeField< ValueType > &field)
 
void explicitOperation (Vector< ValueType > &source) const
 
void implicitOperation (la::LinearSystem< ValueType, localIdx > &ls) const
 
void build (const Input &)
 
std::string getName () const
 
- Public Member Functions inherited from NeoN::dsl::OperatorMixin< VolumeField< ValueType > >
 OperatorMixin (const Executor exec, const Coeff &coeffs, VolumeField< ValueType > &field, Operator::Type type)
 
Operator::Type getType () const
 
virtual ~OperatorMixin ()=default
 
virtual const Executorexec () const final
 
CoeffgetCoefficient ()
 
const CoeffgetCoefficient () const
 
VolumeField< ValueType > & getVector ()
 
const VolumeField< ValueType > & getVector () const
 
void build (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_
 
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.

Constructor & Destructor Documentation

◆ SourceTerm()

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

Member Function Documentation

◆ build()

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

Definition at line 34 of file sourceTerm.hpp.

◆ explicitOperation()

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

◆ getName()

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

Definition at line 36 of file sourceTerm.hpp.

◆ implicitOperation()

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

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