|
| BSplineModel () |
| Default constructor.
|
|
| BSplineModel (const std::array< int64_t, Spline::parDim()> ncoeffs, enum iganet::init init=iganet::init::zeros) |
| Constructor for equidistant knot vectors.
|
|
| ~BSplineModel () |
| Destructor.
|
|
nlohmann::json | eval (const std::string &patch, const std::string &component, const nlohmann::json &json) const override |
| Evaluates the model.
|
|
nlohmann::json | exportXML (const std::string &patch, const std::string &component, int id=0) override |
| Exports the model to XML (as JSON object)
|
|
pugi::xml_node & | exportXML (const std::string &patch, const std::string &component, pugi::xml_node &xml, int id=0) override |
| Exports the model to XML (as XML object)
|
|
std::string | getDescription () const override |
| Returns the model's description.
|
|
nlohmann::json | getInputs () const override |
| Returns the model's inputs.
|
|
std::string | getName () const override |
| Returns the model's name.
|
|
nlohmann::json | getOptions () const override |
| Returns the model's options.
|
|
nlohmann::json | getOutputs () const override |
| Returns the model's outputs.
|
|
nlohmann::json | getParameters () const override |
| Returns the model's parameters.
|
|
void | importXML (const std::string &patch, const std::string &component, const nlohmann::json &json, int id=0) override |
| Imports the model from XML (as JSON object)
|
|
void | importXML (const std::string &patch, const std::string &component, const pugi::xml_node &xml, int id=0) override |
| Imports the model from XML (as XML object)
|
|
void | load (const nlohmann::json &json) override |
| Loads model from LibTorch file.
|
|
void | refine (const nlohmann::json &json=NULL) override |
| Refines the model.
|
|
void | reparameterize (const std::string &patch, const nlohmann::json &json=NULL) override |
| Reparameterize the model.
|
|
nlohmann::json | save () const override |
| Saves model to LibTorch file.
|
|
nlohmann::json | to_json (const std::string &patch, const std::string &component, const std::string &attribute) const override |
| Serializes the model to JSON.
|
|
nlohmann::json | updateAttribute (const std::string &patch, const std::string &component, const std::string &attribute, const nlohmann::json &json) override |
| Updates the attributes of the model.
|
|
| Model () |
| Constructor.
|
|
virtual | ~Model () |
| Destructor.
|
|
virtual nlohmann::json | getCapabilities () const |
| Returns the model's capabilities.
|
|
virtual nlohmann::json | getModel () const |
| Returns the model's JSON serialization.
|
|
std::vector< std::string > | getCapabilities () const |
|
std::vector< std::string > | getCapabilities () const |
|
std::vector< std::string > | getCapabilities () const |
|
std::vector< std::string > | getCapabilities () const |
|
std::vector< std::string > | getCapabilities () const |
|
template<
class Spline>
class iganet::webapp::BSplineModel< Spline >
B-spline model.