10 #ifndef STOKHOS_USERDEFINEDQUADRATURE
11 #define STOKHOS_USERDEFINEDQUADRATURE
19 template <
typename ordinal_type,
typename value_type>
54 virtual std::ostream&
print(std::ostream& os)
const;
82 #endif // STOKHOS_USERDEFINEDQUADRATURE
virtual const Teuchos::Array< Teuchos::Array< value_type > > & getQuadPoints() const
Get quadrature points.
Teuchos::RCP< const Teuchos::Array< Teuchos::Array< value_type > > > quad_values
Quadrature values.
UserDefinedQuadrature & operator=(const UserDefinedQuadrature &b)
Abstract base class for multivariate orthogonal polynomials.
Teuchos::RCP< const Teuchos::Array< value_type > > quad_weights
Quadrature weights.
Abstract base class for quadrature methods.
virtual ~UserDefinedQuadrature()
Destructor.
virtual std::ostream & print(std::ostream &os) const
Print quadrature data.
virtual ordinal_type size() const
Get number of quadrature points.
Teuchos::RCP< const Teuchos::Array< Teuchos::Array< value_type > > > quad_points
Quadrature points.
virtual const Teuchos::Array< value_type > & getQuadWeights() const
Get quadrature weights.
virtual const Teuchos::Array< Teuchos::Array< value_type > > & getBasisAtQuadPoints() const
Get values of basis at quadrature points.
UserDefinedQuadrature(const Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > &basis, const Teuchos::RCP< const Teuchos::Array< Teuchos::Array< value_type > > > &points, const Teuchos::RCP< const Teuchos::Array< value_type > > &weights)
Constructor.