Debian Codegraph @

packages/phalanx/test/EvaluatorMacros/EvaluatorWithMacros.hpp

raw
1 // @HEADER
2 // *****************************************************************************
3 // Phalanx: A Partial Differential Equation Field Evaluation
4 // Kernel for Flexible Management of Complex Dependency Chains
5 //
6 // Copyright 2008 NTESS and the Phalanx contributors.
7 // SPDX-License-Identifier: BSD-3-Clause
8 // *****************************************************************************
9 // @HEADER
10
11 #ifndef PHX_EVALUATOR_WITH_MACROS_HPP
12 #define PHX_EVALUATOR_WITH_MACROS_HPP
13
14 #include "Phalanx_Evaluator_Macros.hpp"
15
16 namespace PHX {
17
18 // Macro with no pre/post evaluate methods
19 PHX_EVALUATOR_CLASS(EvaluatorWithMacros1)
20 public:
21 void evaluates(const std::string& field_name);
22 void depends(const std::string& field_name);
23 void bindField(const PHX::FieldTag& ft, const std::any& f);
24 PHX_EVALUATOR_CLASS_END
25
26 // Macro with no pre/post evaluate methods
27 PHX_EVALUATOR_CLASS_PP(EvaluatorWithMacros2)
28 public:
29 void evaluates(const std::string& field_name);
30 void depends(const std::string& field_name);
31 void bindField(const PHX::FieldTag& ft, const std::any& f);
32 PHX_EVALUATOR_CLASS_END
33
34 }
35
36 #include "EvaluatorWithMacros_Def.hpp"
37
38 #endif