|
PolyFEM
|
#include <polyfem/Common.hpp>#include <polysolve/JSONUtils.hpp>#include <Eigen/Core>#include <igl/PI.h>#include <filesystem>Go to the source code of this file.
Namespaces | |
| namespace | polyfem |
| namespace | polyfem::utils |
Functions | |
| void | polyfem::utils::apply_common_params (json &args) |
| template<typename T > | |
| T | polyfem::utils::deg2rad (T deg) |
| Eigen::Matrix3d | polyfem::utils::to_rotation_matrix (const json &jr, std::string mode) |
| bool | polyfem::utils::is_param_valid (const json ¶ms, const std::string &key) |
| Determine if a key exists and is non-null in a json object. | |
| template<typename T = json> | |
| std::vector< T > | polyfem::utils::json_as_array (const json &j) |
| Return the value of a json object as an array. | |
| template<typename T > | |
| T | polyfem::utils::json_value (const json ¶ms, const std::string &key, const T &default_value) |
| Get a parameter from a json object or return a default value if the parameter invalid. | |