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

#include <operator.hpp>

Inheritance diagram for NeoN::dsl::OperatorMixin< VectorType >:
NeoN::dsl::temporal::Ddt< VectorType >

Public Member Functions

 OperatorMixin (const Executor exec, const Coeff &coeffs, VectorType &field, Operator::Type type)
 
Operator::Type getType () const
 
virtual ~OperatorMixin ()=default
 
virtual const Executorexec () const final
 
CoeffgetCoefficient ()
 
const CoeffgetCoefficient () const
 
VectorType & getVector ()
 
const VectorType & getVector () const
 
void build (const Input &input)
 

Protected Attributes

const Executor exec_
 Executor associated with the field. (CPU, GPU, openMP, etc.)
 
Coeff coeffs_
 
VectorType & field_
 
Operator::Type type_
 

Detailed Description

template<typename VectorType>
class NeoN::dsl::OperatorMixin< VectorType >

Definition at line 29 of file operator.hpp.

Constructor & Destructor Documentation

◆ OperatorMixin()

template<typename VectorType >
NeoN::dsl::OperatorMixin< VectorType >::OperatorMixin ( const Executor  exec,
const Coeff coeffs,
VectorType &  field,
Operator::Type  type 
)
inline

Definition at line 34 of file operator.hpp.

◆ ~OperatorMixin()

template<typename VectorType >
virtual NeoN::dsl::OperatorMixin< VectorType >::~OperatorMixin ( )
virtualdefault

Member Function Documentation

◆ build()

template<typename VectorType >
void NeoN::dsl::OperatorMixin< VectorType >::build ( const Input input)
inline

Definition at line 53 of file operator.hpp.

◆ exec()

template<typename VectorType >
virtual const Executor & NeoN::dsl::OperatorMixin< VectorType >::exec ( ) const
inlinefinalvirtual

Definition at line 42 of file operator.hpp.

◆ getCoefficient() [1/2]

template<typename VectorType >
Coeff & NeoN::dsl::OperatorMixin< VectorType >::getCoefficient ( )
inline

Definition at line 44 of file operator.hpp.

◆ getCoefficient() [2/2]

template<typename VectorType >
const Coeff & NeoN::dsl::OperatorMixin< VectorType >::getCoefficient ( ) const
inline

Definition at line 46 of file operator.hpp.

◆ getType()

template<typename VectorType >
Operator::Type NeoN::dsl::OperatorMixin< VectorType >::getType ( ) const
inline

Definition at line 38 of file operator.hpp.

◆ getVector() [1/2]

template<typename VectorType >
VectorType & NeoN::dsl::OperatorMixin< VectorType >::getVector ( )
inline

Definition at line 48 of file operator.hpp.

◆ getVector() [2/2]

template<typename VectorType >
const VectorType & NeoN::dsl::OperatorMixin< VectorType >::getVector ( ) const
inline

Definition at line 50 of file operator.hpp.

Member Data Documentation

◆ coeffs_

template<typename VectorType >
Coeff NeoN::dsl::OperatorMixin< VectorType >::coeffs_
protected

Definition at line 59 of file operator.hpp.

◆ exec_

template<typename VectorType >
const Executor NeoN::dsl::OperatorMixin< VectorType >::exec_
protected

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

Definition at line 57 of file operator.hpp.

◆ field_

template<typename VectorType >
VectorType& NeoN::dsl::OperatorMixin< VectorType >::field_
protected

Definition at line 61 of file operator.hpp.

◆ type_

template<typename VectorType >
Operator::Type NeoN::dsl::OperatorMixin< VectorType >::type_
protected

Definition at line 63 of file operator.hpp.


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