NeoN
WIP Prototype of a modern OpenFOAM core
|
#include <sourceTerm.hpp>
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 |
![]() | |
OperatorMixin (const Executor exec, const Coeff &coeffs, VolumeField< ValueType > &field, Operator::Type type) | |
Operator::Type | getType () const |
virtual | ~OperatorMixin ()=default |
virtual const Executor & | exec () const final |
Coeff & | getCoefficient () |
const Coeff & | getCoefficient () const |
VolumeField< ValueType > & | getVector () |
const VolumeField< ValueType > & | getVector () const |
void | build (const Input &input) |
Additional Inherited Members | |
![]() | |
const Executor | exec_ |
Executor associated with the field. (CPU, GPU, openMP, etc.) | |
Coeff | coeffs_ |
VolumeField< ValueType > & | field_ |
Operator::Type | type_ |
Definition at line 19 of file sourceTerm.hpp.
NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >::SourceTerm | ( | dsl::Operator::Type | termType, |
VolumeField< scalar > & | coefficients, | ||
VolumeField< ValueType > & | field | ||
) |
|
inline |
Definition at line 34 of file sourceTerm.hpp.
void NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >::explicitOperation | ( | Vector< ValueType > & | source | ) | const |
|
inline |
Definition at line 36 of file sourceTerm.hpp.
void NeoN::finiteVolume::cellCentred::SourceTerm< ValueType >::implicitOperation | ( | la::LinearSystem< ValueType, localIdx > & | ls | ) | const |