29 #ifndef NEMOSYS_POLYAPPROX_H_ 30 #define NEMOSYS_POLYAPPROX_H_ 32 #include "nemosys_export.h" 44 const std::vector<std::vector<double>> &coords);
53 void computeCoeff(
const Eigen::VectorXd &
data);
55 double eval(
const std::vector<double> &coord)
const;
57 static std::unique_ptr<polyApprox>
58 CreateUnique(
int order,
59 const std::vector<std::vector<double>> &coords);
64 std::vector<Eigen::VectorXd>
basis;
72 Eigen::VectorXd computeBasis(
const std::vector<double> &coord)
const;
75 #endif // NEMOSYS_POLYAPPROX_H_ data_type data
Edge/face with sorted point ids (a, b, c, ...) is located at some index i in data[b], with data[b][i].first == [a, c] (for edges, third point id treated as -1).
std::vector< Eigen::VectorXd > basis