Definition at line 39 of file polyApprox.H.
Public Member Functions | |
polyApprox (int _order, const std::vector< std::vector< double >> &coords) | |
~polyApprox ()=default | |
polyApprox (const polyApprox &)=delete | |
polyApprox & | operator= (const polyApprox &)=delete |
void | computeCoeff (const Eigen::VectorXd &data) |
void | resetCoeff () |
double | eval (const std::vector< double > &coord) const |
Static Public Member Functions | |
static std::unique_ptr< polyApprox > | CreateUnique (int order, const std::vector< std::vector< double >> &coords) |
Private Member Functions | |
Eigen::VectorXd | computeBasis (const std::vector< double > &coord) const |
Private Attributes | |
int | order |
std::vector< Eigen::VectorXd > | basis |
Eigen::MatrixXd | A |
Eigen::VectorXd | b |
Eigen::VectorXd | a |
polyApprox::polyApprox | ( | int | _order, |
const std::vector< std::vector< double >> & | coords | ||
) |
Definition at line 41 of file polyApprox.C.
References A, a, b, basis, computeBasis(), and order.
Referenced by CreateUnique().
|
default |
|
delete |
|
private |
Definition at line 109 of file polyApprox.C.
References order.
Referenced by eval(), and polyApprox().
void polyApprox::computeCoeff | ( | const Eigen::VectorXd & | data | ) |
Definition at line 85 of file polyApprox.C.
References A, a, b, basis, and data.
Referenced by PatchRecovery::computeNodalError(), and PatchRecovery::recoverNodalSolution().
|
static |
Definition at line 78 of file polyApprox.C.
References polyApprox().
Referenced by PatchRecovery::computeNodalError(), and PatchRecovery::recoverNodalSolution().
double polyApprox::eval | ( | const std::vector< double > & | coord | ) | const |
Definition at line 102 of file polyApprox.C.
References a, and computeBasis().
Referenced by PatchRecovery::computeNodalError(), and PatchRecovery::recoverNodalSolution().
|
delete |
void polyApprox::resetCoeff | ( | ) |
Definition at line 95 of file polyApprox.C.
Referenced by PatchRecovery::computeNodalError(), and PatchRecovery::recoverNodalSolution().
|
private |
Definition at line 66 of file polyApprox.H.
Referenced by computeCoeff(), and polyApprox().
|
private |
Definition at line 70 of file polyApprox.H.
Referenced by computeCoeff(), eval(), polyApprox(), and resetCoeff().
|
private |
Definition at line 68 of file polyApprox.H.
Referenced by computeCoeff(), polyApprox(), and resetCoeff().
|
private |
Definition at line 64 of file polyApprox.H.
Referenced by computeCoeff(), and polyApprox().
|
private |
Definition at line 62 of file polyApprox.H.
Referenced by computeBasis(), and polyApprox().