![]() |
IgANet
IgANets - Isogeometric Analysis Networks
|
G+Smo PDE model. More...
#include </home/runner/work/iganet/iganet/webapps/models/gismo/GismoPdeModel.hpp>
Public Member Functions | |
nlohmann::json | to_json (const std::string &patch, const std::string &component, const std::string &attribute) const override |
Serializes the model to JSON. | |
![]() | |
GismoGeometryModel ()=default | |
Default constructor. | |
GismoGeometryModel (const pugi::xml_node root) | |
Constructor from XML. | |
GismoGeometryModel (const std::array< short_t, d > degrees, const std::array< int64_t, d > ncoeffs, const std::array< int64_t, d > npatches, const std::array< T, d > dimensions) | |
Constructor for equidistant knot vectors. | |
void | addPatch (const nlohmann::json &json=NULL) override |
Add new patch to the model. | |
void | elevate (const nlohmann::json &json=NULL) override |
Elevates the model's degrees, preserves smoothness. | |
nlohmann::json | eval (const std::string &patch, const std::string &component, const nlohmann::json &json) const override |
Evaluates the model. | |
gismo::internal::gsXmlTree & | exportXML (const std::string &patch, const std::string &component, gismo::internal::gsXmlTree &xml, int id) |
Exports the model to XML (as XML object) optimized for G+Smo. | |
nlohmann::json | exportXML (const std::string &patch, const std::string &component, int id) 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) override |
Exports the model to XML (as XML object) | |
nlohmann::json | getInputs () const override |
Returns the model's inputs. | |
nlohmann::json | getOptions () const override |
Returns the model's options. | |
nlohmann::json | getOutputs () const override |
Returns the model's outputs. | |
void | importXML (const std::string &patch, const std::string &component, const gismo::internal::gsXmlTree &xml, int id) |
Imports the model from XML (as XML object) optimized for G+Smo. | |
void | importXML (const std::string &patch, const std::string &component, const nlohmann::json &json, int id) 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) override |
Imports the model from XML (as XML object) | |
void | increase (const nlohmann::json &json=NULL) override |
Increases the model's degrees, preserves multiplicity. | |
void | refine (const nlohmann::json &json=NULL) override |
Refines the model. | |
void | removePatch (const std::string &patch, const nlohmann::json &json=NULL) override |
Remove existing patch from the model. | |
void | reparameterize (const std::string &patch, const nlohmann::json &json=NULL) override |
Reparameterize the model. | |
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. | |
![]() | |
GismoModel () | |
Default constructor. | |
~GismoModel () | |
Destructor. | |
![]() | |
Model () | |
Constructor. | |
virtual | ~Model () |
Destructor. | |
virtual nlohmann::json | getCapabilities () const |
Returns the model's capabilities. | |
virtual std::string | getDescription () const =0 |
Returns the model's description. | |
virtual nlohmann::json | getModel () const |
Returns the model's JSON serialization. | |
virtual std::string | getName () const =0 |
Returns the model's name. | |
virtual nlohmann::json | getParameters () const =0 |
Return's the model's parameters. | |
![]() | |
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 |
![]() | |
std::vector< std::string > | getCapabilities () const |
![]() | |
std::vector< std::string > | getCapabilities () const |
![]() | |
std::vector< std::string > | getCapabilities () const |
Protected Attributes | |
gismo::gsMultiPatch< T > | solution_ |
Solution. | |
![]() | |
gismo::gsMultiPatch< T > | geo_ |
Multi-patch geometry. | |
|
inlineoverridevirtual |
Serializes the model to JSON.
Reimplemented from iganet::webapp::GismoGeometryModel< d, T >.
|
protected |
Solution.