NeoN
A framework for CFD software
Loading...
Searching...
No Matches
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 Executor & exec () const final
Coeff & getCoefficient ()
const Coeff & getCoefficient () 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 37 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 42 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 52 of file operator.hpp.

◆ getCoefficient() [1/2]

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

Definition at line 54 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 56 of file operator.hpp.

◆ getType()

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

Definition at line 48 of file operator.hpp.

◆ getVector()

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

Definition at line 58 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 61 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 67 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 65 of file operator.hpp.

◆ field_

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

Definition at line 69 of file operator.hpp.

◆ type_

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

Definition at line 71 of file operator.hpp.


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