NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
NeoN::finiteVolume::cellCentred::DdtOperator< ValueType > Class Template Reference

#include <ddtOperator.hpp>

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

Public Types

using VectorValueType = ValueType
 

Public Member Functions

 DdtOperator (dsl::Operator::Type termType, VolumeField< ValueType > &field)
 
void explicitOperation (Vector< ValueType > &source, scalar, scalar dt) const
 
void implicitOperation (la::LinearSystem< ValueType, localIdx > &ls, scalar, scalar dt)
 
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::DdtOperator< ValueType >

Definition at line 19 of file ddtOperator.hpp.

Member Typedef Documentation

◆ VectorValueType

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

Definition at line 24 of file ddtOperator.hpp.

Constructor & Destructor Documentation

◆ DdtOperator()

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

Member Function Documentation

◆ build()

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

Definition at line 32 of file ddtOperator.hpp.

◆ explicitOperation()

template<typename ValueType >
void NeoN::finiteVolume::cellCentred::DdtOperator< ValueType >::explicitOperation ( Vector< ValueType > &  source,
scalar  ,
scalar  dt 
) const

◆ getName()

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

Definition at line 34 of file ddtOperator.hpp.

◆ implicitOperation()

template<typename ValueType >
void NeoN::finiteVolume::cellCentred::DdtOperator< ValueType >::implicitOperation ( la::LinearSystem< ValueType, localIdx > &  ls,
scalar  ,
scalar  dt 
)

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