PolyFEM
|
#include <NodeProblem.hpp>
Public Member Functions | |
NodeValues () | |
void | load (const std::string &path) |
void | init (const mesh::Mesh &mesh) |
double | dirichlet_interpolate (const int p_id, const Eigen::MatrixXd &uv) const |
double | neumann_interpolate (const int p_id, const Eigen::MatrixXd &uv) const |
Private Member Functions | |
double | interpolate (const int p_id, const Eigen::MatrixXd &uv, bool is_dirichlet) const |
Private Attributes | |
std::vector< int > | raw_ids_ |
std::vector< std::vector< double > > | raw_data_ |
std::vector< bool > | raw_dirichlet_ |
std::vector< Eigen::VectorXd > | data_ |
std::vector< bool > | dirichlet_ |
Definition at line 14 of file NodeProblem.hpp.
polyfem::problem::NodeValues::NodeValues | ( | ) |
Definition at line 14 of file NodeProblem.cpp.
|
inline |
Definition at line 22 of file NodeProblem.hpp.
References interpolate().
Referenced by polyfem::problem::NodeProblem::dirichlet_bc().
void polyfem::problem::NodeValues::init | ( | const mesh::Mesh & | mesh | ) |
Definition at line 54 of file NodeProblem.cpp.
References data_, dirichlet_, polyfem::mesh::Mesh::is_volume(), polyfem::mesh::Mesh::n_edges(), polyfem::mesh::Mesh::n_faces(), raw_data_, raw_dirichlet_, and raw_ids_.
Referenced by polyfem::problem::NodeProblem::init().
|
private |
Definition at line 79 of file NodeProblem.cpp.
References data_, dirichlet_, and vals.
Referenced by dirichlet_interpolate(), and neumann_interpolate().
void polyfem::problem::NodeValues::load | ( | const std::string & | path | ) |
Definition at line 18 of file NodeProblem.cpp.
References polyfem::logger(), raw_data_, raw_dirichlet_, and raw_ids_.
Referenced by polyfem::problem::NodeProblem::set_parameters().
|
inline |
Definition at line 26 of file NodeProblem.hpp.
References interpolate().
Referenced by polyfem::problem::NodeProblem::neumann_bc().
|
private |
Definition at line 38 of file NodeProblem.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 39 of file NodeProblem.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 35 of file NodeProblem.hpp.
|
private |
Definition at line 36 of file NodeProblem.hpp.
|
private |
Definition at line 34 of file NodeProblem.hpp.