30 typedef memory::unique_ptr<gsLobattoRule> uPtr;
37 const unsigned digits = 0 )
44 const unsigned digits = 0 )
58 unsigned digits = 0 );
60 using gsQuadRule<T>::setNodes;
70 unsigned digits = 0 );
87 #ifndef GISMO_BUILD_LIB
88 #include GISMO_HPP_HEADER(gsLobattoRule.hpp)
Class that represents the (tensor) Gauss-Lobatto quadrature rule.
Definition: gsLobattoRule.h:26
Class representing a reference quadrature rule.
Definition: gsQuadRule.h:28
gsLobattoRule(index_t numNodes, const unsigned digits=0)
Initialize a 1D Lobatto quadrature rule with numNodes.
Definition: gsLobattoRule.h:48
#define index_t
Definition: gsConfig.h:32
static bool lookupReference(index_t n, gsVector< T > &x, gsVector< T > &w)
Look up function for the Lobatto quadrature rule in the interval [-1,1].
Definition: gsLobattoRule.hpp:123
gsLobattoRule()
Default empty constructor.
Definition: gsLobattoRule.h:33
static uPtr make(gsVector< index_t > const &numNodes, const unsigned digits=0)
Make function returning a smart pointer.
Definition: gsLobattoRule.h:43
gsLobattoRule(gsVector< index_t > const &numNodes, const unsigned digits=0)
Initialize a tensor-product Lobatto quadrature rule with numNodes (direction-wise) ...
Definition: gsLobattoRule.h:36
index_t numNodes() const
Number of nodes in the currently kept rule.
Definition: gsQuadRule.h:106
void setNodes(gsVector< index_t > const &numNodes, unsigned digits=0)
Initialize quadrature rule with numNodes number of quadrature points per integration variable...
Definition: gsLobattoRule.hpp:23
static void computeReference(index_t n, gsVector< T > &x, gsVector< T > &w, unsigned digits=0)
Computes the Lobatto quadrature rule with n nodes in the interval [-1,1].
Definition: gsLobattoRule.hpp:59