3 #include "../../types.hpp" 4 #include "../../utilities/evaluations.hpp" 6 #include "../bases.hpp" 29 template <
class Subtype,
class Basis>
34 potential_evaluation_type
evaluate_at( const argument_type &arg )
const 36 return static_cast<const Subtype*
>(
this)->evaluate_at_implementation( arg );
39 template <
template <
typename...>
class grid_in = std::vector,
40 template <
typename...>
class grid_out = grid_in >
42 const grid_in<argument_type > &args )
const {
44 potential_evaluation_type,
59 template <
class Basis>
68 : potential( potential ){}
75 potential_return_type,
76 function_t >::apply( potential, arg );
81 template <
class Basis>
Definition: coefficients_file_parser.cpp:10
grid_out< potential_evaluation_type > evaluate(const grid_in< argument_type > &args) const
Definition: evaluation.hpp:41
potential_evaluation_type evaluate_at_implementation(const argument_type &arg) const
Definition: evaluation.hpp:71
G_out< R > evaluate_function_in_grid(const F< R(A)> &f, const G_in< A > &g)
Evaluate a function in multiple points at once.
Definition: evaluations.hpp:130
Eigen::Matrix< I, R, C > GMatrix
Definition: types.hpp:37
Standard(potential_type potential)
Definition: evaluation.hpp:67
potential_evaluation_type evaluate_at(const argument_type &arg) const
Definition: evaluation.hpp:34
std::function< P > function_t
Definition: types.hpp:57
Abstract class for potential evaluation.
Definition: evaluation.hpp:30
#define IMPORT_TYPES_FROM(B)
Definition: bases.hpp:3
Definition: evaluations.hpp:16
potential_type potential
Definition: evaluation.hpp:64
Helper class for easier template specialization.
Definition: evaluation.hpp:60