12#ifndef ARCANE_AMRCOMPUTEFUNCTION_H
13#define ARCANE_AMRCOMPUTEFUNCTION_H
17#include "arcane/utils/AMRTransportFunctor.h"
19#include "arcane/core/Item.h"
33class AMRComputeFunction
38 template <
typename ClassType>
39 AMRComputeFunction(ClassType* instance,
void (ClassType::*func)(
Array<ItemInternal*>&, AMROperationType))
43 template <
typename ClassType>
44 AMRComputeFunction(ClassType* instance,
void (ClassType::*func)(
Array<Cell>&, AMROperationType))
55 m_functor->executeFunctor(cells, op);
60 m_functor->executeFunctor(cells, op);
virtual void executeFunctor(Array< Cell > &cells, AMROperationType op)
Executes the calculation function.
virtual void executeFunctor(Array< ItemInternal * > &cells, AMROperationType op)
Executes the calculation function.
virtual ~AMRComputeFunction()
Releases resources.
Functor associated with a method of a class T.
Base class for 1D data vectors.
Interface of a functor with argument.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --