namespace ewalena
0.2.15
ewalena is not an acronym
|
Base class for scalar fields of empirical moduli. More...
#include <include/ewalena/base/scalar_field_base.h>
Public Member Functions | |
virtual ValueType | grad (const Point< dim, ValueType > &point) const |
virtual Tensor< dim, 1, ValueType > | gradient (const Point< dim, ValueType > &point) const |
virtual void | gradient_list (const std::vector< Point< dim, ValueType > > &points, std::vector< Tensor< dim, 1, ValueType > > &gradients) |
virtual Tensor< dim, 2, ValueType > | hessian (const Point< dim, ValueType > &point) const |
virtual void | hessian_list (const std::vector< Point< dim, ValueType > > &points, std::vector< Tensor< dim, 2, ValueType > > &hessianss) |
virtual ValueType | laplace (const Point< dim, ValueType > &point) const |
ScalarFieldBase () | |
virtual ValueType | value (const Point< dim, ValueType > &point) const |
virtual void | value_list (const std::vector< Point< dim, ValueType > > &points, std::vector< ValueType > &values) |
virtual | ~ScalarFieldBase () |
Static Public Attributes | |
static const unsigned int | dim_ = dim |
Base class for scalar fields of empirical moduli.
A base class that describes a super set of classical scalar fields.
ewalena::ScalarFieldBase< dim, ValueType >::ScalarFieldBase | ( | ) |
Constructor.
virtual ewalena::ScalarFieldBase< dim, ValueType >::~ScalarFieldBase | ( | ) | [virtual] |
Virtual donstructor.
virtual ValueType ewalena::ScalarFieldBase< dim, ValueType >::grad | ( | const Point< dim, ValueType > & | point | ) | const [virtual] |
Return the value of the gradient of this function at the given point.
virtual Tensor<dim, 1, ValueType> ewalena::ScalarFieldBase< dim, ValueType >::gradient | ( | const Point< dim, ValueType > & | point | ) | const [virtual] |
Return the gradient of this function at the given point.
virtual void ewalena::ScalarFieldBase< dim, ValueType >::gradient_list | ( | const std::vector< Point< dim, ValueType > > & | points, |
std::vector< Tensor< dim, 1, ValueType > > & | gradients | ||
) | [virtual] |
Return the list of gradients of this function at the given list of points. The original data and size of values (if any) is anihilated.
virtual Tensor<dim, 2, ValueType> ewalena::ScalarFieldBase< dim, ValueType >::hessian | ( | const Point< dim, ValueType > & | point | ) | const [virtual] |
Return the Hessian (or funcional determinant) of this function at the given point.
virtual void ewalena::ScalarFieldBase< dim, ValueType >::hessian_list | ( | const std::vector< Point< dim, ValueType > > & | points, |
std::vector< Tensor< dim, 2, ValueType > > & | hessianss | ||
) | [virtual] |
Return the list of hessians (or functional determinants) of this function at the given list of points. The original data and size of values (if any) is anihilated.
virtual ValueType ewalena::ScalarFieldBase< dim, ValueType >::laplace | ( | const Point< dim, ValueType > & | point | ) | const [virtual] |
Return the value of the Laplace acting on this function at the given point.
virtual ValueType ewalena::ScalarFieldBase< dim, ValueType >::value | ( | const Point< dim, ValueType > & | point | ) | const [virtual] |
Return the value of this function at the given point.
virtual void ewalena::ScalarFieldBase< dim, ValueType >::value_list | ( | const std::vector< Point< dim, ValueType > > & | points, |
std::vector< ValueType > & | values | ||
) | [virtual] |
Return the list of values of this function at the given list of points. The original data and size of values (if any) is anihilated.
const unsigned int ewalena::ScalarFieldBase< dim, ValueType >::dim_ = dim [static] |
Let the dimension of this function be public.