QUGaR 0.0.4
Loading...
Searching...
No Matches
lagrange_tp_utils.hpp File Reference

Declaration of tensor-product Lagrange utils. More...

#include <qugar/point.hpp>
#include <qugar/tensor_index_tp.hpp>
#include <qugar/types.hpp>
#include <qugar/vector.hpp>
#include <vector>
Include dependency graph for lagrange_tp_utils.hpp:

Go to the source code of this file.

Namespaces

namespace  qugar
 QUGaR's main namespace.
 
namespace  qugar::impl
 

Functions

void qugar::impl::evaluate_Lagrange_basis_1D (real point, int order, bool chebyshev, std::vector< real > &values)
 Evaluates the Lagrange basis polynomials in 1D at a given point.
 
void qugar::impl::evaluate_Lagrange_basis_der_1D (real point, int order, bool chebyshev, std::vector< real > &values)
 Evaluates the first derivative of the Lagrange basis polynomial in 1D.
 
template<int dim>
void qugar::impl::evaluate_Lagrange_basis (const Point< dim > &point, const TensorSizeTP< dim > &order, bool chebyshev, std::vector< real > &basis)
 Evaluates the tensor-product Lagrange basis functions at a given point.
 
template<int dim>
void qugar::impl::evaluate_Lagrange_derivative (const Point< dim > &point, const TensorSizeTP< dim > &order, bool chebyshev, Vector< std::vector< real >, dim > &basis_ders)
 Evaluates the derivative of the Lagrange basis functions at a given point, along all directions.
 

Detailed Description

Declaration of tensor-product Lagrange utils.

Author
Pablo Antolin (pablo.nosp@m..ant.nosp@m.olin@.nosp@m.epfl.nosp@m..ch)
Date
2025-01-10