#include <ElementIntegrator.hpp>
Public Member Functions | |
const ublas::fixed_vector < float_t, N > & | node (std::size_t i) const |
float_t | weight (std::size_t i) const |
Static Public Attributes | |
static const std::size_t | n_nodes = N_NODES |
The number of integration nodes. | |
Protected Attributes | |
ublas::fixed_vector < ublas::fixed_vector< float_t, N >, N_NODES > | _nodes |
The coordinates of the integration nodes on the reference element. | |
ublas::fixed_vector< float_t, N_NODES > | _weights |
The corresponding weights. |
All implementations of integrators on reference elements should be derived from this class. The template parameters N and N_NODES refer to the dimension of the reference element and to the number of nodes of the integrator respectively.
const ublas::fixed_vector<float_t, N>& imaging::ElementIntegrator< N, N_NODES >::node | ( | std::size_t | i | ) | const [inline] |
Returns the coordinates of the i-th integration node on the reference element.
float_t imaging::ElementIntegrator< N, N_NODES >::weight | ( | std::size_t | i | ) | const [inline] |
Returns the weight corresponding to the i-th integration.