NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
NeoN::dsl::OperatorMixin< OutType, InType > Class Template Reference

#include <operator.hpp>

Public Member Functions

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

Protected Attributes

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

Detailed Description

template<typename OutType, typename InType = OutType>
class NeoN::dsl::OperatorMixin< OutType, InType >

Definition at line 36 of file operator.hpp.

Constructor & Destructor Documentation

◆ OperatorMixin()

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

Definition at line 41 of file operator.hpp.

◆ ~OperatorMixin()

template<typename OutType , typename InType = OutType>
virtual NeoN::dsl::OperatorMixin< OutType, InType >::~OperatorMixin ( )
virtualdefault

Member Function Documentation

◆ exec()

template<typename OutType , typename InType = OutType>
virtual const Executor & NeoN::dsl::OperatorMixin< OutType, InType >::exec ( ) const
inlinefinalvirtual

Definition at line 51 of file operator.hpp.

◆ getCoefficient() [1/2]

template<typename OutType , typename InType = OutType>
Coeff & NeoN::dsl::OperatorMixin< OutType, InType >::getCoefficient ( )
inline

Definition at line 53 of file operator.hpp.

◆ getCoefficient() [2/2]

template<typename OutType , typename InType = OutType>
const Coeff & NeoN::dsl::OperatorMixin< OutType, InType >::getCoefficient ( ) const
inline

Definition at line 55 of file operator.hpp.

◆ getType()

template<typename OutType , typename InType = OutType>
Operator::Type NeoN::dsl::OperatorMixin< OutType, InType >::getType ( ) const
inline

Definition at line 47 of file operator.hpp.

◆ getVector()

template<typename OutType , typename InType = OutType>
const InType & NeoN::dsl::OperatorMixin< OutType, InType >::getVector ( ) const
inline

Definition at line 57 of file operator.hpp.

◆ read()

template<typename OutType , typename InType = OutType>
void NeoN::dsl::OperatorMixin< OutType, InType >::read ( const Input input)
inline

Definition at line 60 of file operator.hpp.

Member Data Documentation

◆ coeffs_

template<typename OutType , typename InType = OutType>
Coeff NeoN::dsl::OperatorMixin< OutType, InType >::coeffs_
protected

Definition at line 66 of file operator.hpp.

◆ exec_

template<typename OutType , typename InType = OutType>
const Executor NeoN::dsl::OperatorMixin< OutType, InType >::exec_
protected

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

Definition at line 64 of file operator.hpp.

◆ field_

template<typename OutType , typename InType = OutType>
const InType& NeoN::dsl::OperatorMixin< OutType, InType >::field_
protected

Definition at line 68 of file operator.hpp.

◆ type_

template<typename OutType , typename InType = OutType>
Operator::Type NeoN::dsl::OperatorMixin< OutType, InType >::type_
protected

Definition at line 70 of file operator.hpp.


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