WaveBlocksND
Public Types | Public Member Functions | List of all members
waveblocks::potentials::modules::localQuadratic::Abstract< Subtype, Basis > Struct Template Reference

Abstract class for local quadratic evaluation. More...

#include <localQuadratic.hpp>

Public Types

using Self = Abstract< Subtype, Basis >
 

Public Member Functions

potential_evaluation_type evaluate_local_quadratic_at (const argument_type &arg, const argument_type &position) const
 
template<template< typename... > class grid_in = std::vector, template< typename... > class grid_out = grid_in>
grid_out< potential_evaluation_type > evaluate_local_remainder (const grid_in< argument_type > &args, argument_type position) const
 

Detailed Description

template<class Subtype, class Basis>
struct waveblocks::potentials::modules::localQuadratic::Abstract< Subtype, Basis >

Abstract class for local quadratic evaluation.

A matrix potential inheriting an implementation of this module can evaluate the local quadratic approximation of its' potential elementwise

This makes use of the CRTPattern

Template Parameters
SubtypeThe type extending this interface (used for static polymorphism)
BasisWhich basis (bases::Eigen or bases::Canonical) the potential is given in

Member Typedef Documentation

template<class Subtype, class Basis>
using waveblocks::potentials::modules::localQuadratic::Abstract< Subtype, Basis >::Self = Abstract<Subtype, Basis>

Member Function Documentation

template<class Subtype, class Basis>
potential_evaluation_type waveblocks::potentials::modules::localQuadratic::Abstract< Subtype, Basis >::evaluate_local_quadratic_at ( const argument_type &  arg,
const argument_type &  position 
) const
inline
template<class Subtype, class Basis>
template<template< typename... > class grid_in = std::vector, template< typename... > class grid_out = grid_in>
grid_out<potential_evaluation_type> waveblocks::potentials::modules::localQuadratic::Abstract< Subtype, Basis >::evaluate_local_remainder ( const grid_in< argument_type > &  args,
argument_type  position 
) const
inline

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