IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet::webapp::GismoPdeModel< d, T > Class Template Reference

G+Smo PDE model. More...

#include </home/runner/work/iganet/iganet/webapps/models/gismo/GismoPdeModel.hpp>

Inheritance diagram for iganet::webapp::GismoPdeModel< d, T >:
iganet::webapp::GismoGeometryModel< d, T > iganet::ModelXML iganet::ModelRemovePatch iganet::ModelReparameterize iganet::ModelRefine iganet::ModelIncrease iganet::ModelEval iganet::ModelElevate iganet::ModelAddPatch iganet::webapp::GismoModel< T > iganet::webapp::GismoKLShellModel< d, T > iganet::webapp::GismoLinearElasticityModel< d, T > iganet::webapp::GismoPoissonModel< d, T >

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.
 
- Public Member Functions inherited from iganet::webapp::GismoGeometryModel< d, T >
 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.
 
- Public Member Functions inherited from iganet::webapp::GismoModel< T >
 GismoModel ()
 Default constructor.
 
 ~GismoModel ()
 Destructor.
 
- Public Member Functions inherited from iganet::Model< T >
 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.
 
- Public Member Functions inherited from iganet::ModelAddPatch
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelElevate
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelEval
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelIncrease
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelRefine
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelReparameterize
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelRemovePatch
std::vector< std::string > getCapabilities () const
 
- Public Member Functions inherited from iganet::ModelXML
std::vector< std::string > getCapabilities () const
 

Protected Attributes

gismo::gsMultiPatch< T > solution_
 Solution.
 
- Protected Attributes inherited from iganet::webapp::GismoGeometryModel< d, T >
gismo::gsMultiPatch< T > geo_
 Multi-patch geometry.
 

Detailed Description

template<short_t d, class T>
class iganet::webapp::GismoPdeModel< d, T >

G+Smo PDE model.

Member Function Documentation

◆ to_json()

template<short_t d, class T >
nlohmann::json iganet::webapp::GismoPdeModel< d, T >::to_json ( const std::string &  patch,
const std::string &  component,
const std::string &  attribute 
) const
inlineoverridevirtual

Serializes the model to JSON.

Reimplemented from iganet::webapp::GismoGeometryModel< d, T >.

Member Data Documentation

◆ solution_

template<short_t d, class T >
gismo::gsMultiPatch<T> iganet::webapp::GismoPdeModel< d, T >::solution_
protected

Solution.


The documentation for this class was generated from the following file: