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

#include <operator.hpp>

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

Public Member Functions

 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)
 

Protected Attributes

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::OperatorMixin< FieldType >

Definition at line 196 of file operator.hpp.

Constructor & Destructor Documentation

◆ OperatorMixin()

template<typename FieldType >
NeoFOAM::dsl::OperatorMixin< FieldType >::OperatorMixin ( const Executor  exec,
FieldType &  field,
Operator::Type  type 
)
inline

Definition at line 201 of file operator.hpp.

◆ ~OperatorMixin()

template<typename FieldType >
virtual NeoFOAM::dsl::OperatorMixin< FieldType >::~OperatorMixin ( )
virtualdefault

Member Function Documentation

◆ build()

template<typename FieldType >
void NeoFOAM::dsl::OperatorMixin< FieldType >::build ( const Input input)
inline

Definition at line 219 of file operator.hpp.

◆ exec()

template<typename FieldType >
virtual const Executor & NeoFOAM::dsl::OperatorMixin< FieldType >::exec ( ) const
inlinefinalvirtual

Definition at line 208 of file operator.hpp.

◆ getCoefficient() [1/2]

template<typename FieldType >
Coeff & NeoFOAM::dsl::OperatorMixin< FieldType >::getCoefficient ( )
inline

Definition at line 210 of file operator.hpp.

◆ getCoefficient() [2/2]

template<typename FieldType >
const Coeff & NeoFOAM::dsl::OperatorMixin< FieldType >::getCoefficient ( ) const
inline

Definition at line 212 of file operator.hpp.

◆ getField() [1/2]

template<typename FieldType >
FieldType & NeoFOAM::dsl::OperatorMixin< FieldType >::getField ( )
inline

Definition at line 214 of file operator.hpp.

◆ getField() [2/2]

template<typename FieldType >
const FieldType & NeoFOAM::dsl::OperatorMixin< FieldType >::getField ( ) const
inline

Definition at line 216 of file operator.hpp.

◆ getType()

template<typename FieldType >
Operator::Type NeoFOAM::dsl::OperatorMixin< FieldType >::getType ( ) const
inline

Definition at line 204 of file operator.hpp.

Member Data Documentation

◆ coeffs_

template<typename FieldType >
Coeff NeoFOAM::dsl::OperatorMixin< FieldType >::coeffs_
protected

Definition at line 225 of file operator.hpp.

◆ exec_

template<typename FieldType >
const Executor NeoFOAM::dsl::OperatorMixin< FieldType >::exec_
protected

Executor associated with the field. (CPU, GPU, openMP, etc.)

Definition at line 223 of file operator.hpp.

◆ field_

template<typename FieldType >
FieldType& NeoFOAM::dsl::OperatorMixin< FieldType >::field_
protected

Definition at line 227 of file operator.hpp.

◆ type_

template<typename FieldType >
Operator::Type NeoFOAM::dsl::OperatorMixin< FieldType >::type_
protected

Definition at line 229 of file operator.hpp.


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