![]() |
IgANet
IgANets - Isogeometric Analysis Networks
|
Poisson equation in 2d model. More...
Public Member Functions | |
Poisson2dModel ()=default | |
Default constructor. | |
~Poisson2dModel () | |
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. | |
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 attrbutes 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 |
Poisson equation in 2d model.
|
default |
Default constructor.
|
inline |
Destructor.
|
inlineoverridevirtual |
Evaluates the model.
Implements iganet::ModelEval.
|
inlineoverridevirtual |
Exports the model to XML (as JSON object)
Implements iganet::ModelXML.
|
inlineoverridevirtual |
Exports the model to XML (as XML object)
Implements iganet::ModelXML.
|
inlineoverridevirtual |
Returns the model's description.
Implements iganet::Model< T >.
|
inlineoverridevirtual |
Returns the model's inputs.
Implements iganet::Model< T >.
|
inlineoverridevirtual |
Returns the model's name.
Implements iganet::Model< T >.
|
inlineoverridevirtual |
Returns the model's options.
Implements iganet::Model< T >.
|
inlineoverridevirtual |
Returns the model's outputs.
Implements iganet::Model< T >.
|
inlineoverridevirtual |
Returns the model's parameters.
Implements iganet::Model< T >.
|
inlineoverridevirtual |
Imports the model from XML (as JSON object)
Implements iganet::ModelXML.
|
inlineoverridevirtual |
Imports the model from XML (as XML object)
Implements iganet::ModelXML.
|
inlineoverridevirtual |
Loads model from LibTorch file.
Implements iganet::ModelSerialize.
|
inlineoverridevirtual |
Refines the model.
Implements iganet::ModelRefine.
|
inlineoverridevirtual |
Saves model to LibTorch file.
Implements iganet::ModelSerialize.
|
inlineoverridevirtual |
Serializes the model to JSON.
Reimplemented from iganet::Model< T >.
|
inlineoverridevirtual |
Updates the attrbutes of the model.
Reimplemented from iganet::Model< T >.