NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoFOAM::dsl::temporal::Ddt< FieldType > Class Template Reference

#include <ddt.hpp>

Inheritance diagram for NeoFOAM::dsl::temporal::Ddt< FieldType >:
NeoFOAM::dsl::OperatorMixin< FieldType >

Public Member Functions

 Ddt (FieldType &field)
 
std::string getName () const
 
void explicitOperation (Field< scalar > &source, scalar scale)
 
void implicitOperation (Field< scalar > &phi)
 
- Public Member Functions inherited from NeoFOAM::dsl::OperatorMixin< FieldType >
 OperatorMixin (const Executor exec, FieldType &field, Operator::Type type)
 
Operator::Type getType () const
 
virtual ~OperatorMixin ()=default
 
virtual const Executorexec () const final
 
CoeffgetCoefficient ()
 
const CoeffgetCoefficient () const
 
FieldType & getField ()
 
const FieldType & getField () const
 
void build (const Input &input)
 

Additional Inherited Members

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

Detailed Description

template<typename FieldType>
class NeoFOAM::dsl::temporal::Ddt< FieldType >

Definition at line 14 of file ddt.hpp.

Constructor & Destructor Documentation

◆ Ddt()

template<typename FieldType >
NeoFOAM::dsl::temporal::Ddt< FieldType >::Ddt ( FieldType &  field)
inline

Definition at line 19 of file ddt.hpp.

Member Function Documentation

◆ explicitOperation()

template<typename FieldType >
void NeoFOAM::dsl::temporal::Ddt< FieldType >::explicitOperation ( Field< scalar > &  source,
scalar  scale 
)
inline

Definition at line 24 of file ddt.hpp.

◆ getName()

template<typename FieldType >
std::string NeoFOAM::dsl::temporal::Ddt< FieldType >::getName ( ) const
inline

Definition at line 22 of file ddt.hpp.

◆ implicitOperation()

template<typename FieldType >
void NeoFOAM::dsl::temporal::Ddt< FieldType >::implicitOperation ( Field< scalar > &  phi)
inline

Definition at line 29 of file ddt.hpp.


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