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

G+Smo base model. More...

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

Inheritance diagram for iganet::webapp::GismoModel< T >:
iganet::Model< T > iganet::webapp::GismoGeometryModel< d, T > iganet::webapp::GismoPdeModel< d, T > iganet::webapp::GismoKLShellModel< d, T > iganet::webapp::GismoLinearElasticityModel< d, T > iganet::webapp::GismoPoissonModel< d, T >

Public Member Functions

 GismoModel ()
 Default constructor.
 
 ~GismoModel ()
 Destructor.
 
virtual nlohmann::json to_json (const std::string &patch, const std::string &component, const std::string &attribute) const override
 Serializes the model to JSON.
 
virtual 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::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 getInputs () const =0
 Returns the model's inputs.
 
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 getOptions () const =0
 Returns the model's options.
 
virtual nlohmann::json getOutputs () const =0
 Returns the model's outputs.
 
virtual nlohmann::json getParameters () const =0
 Return's the model's parameters.
 

Detailed Description

template<class T>
class iganet::webapp::GismoModel< T >

G+Smo base model.

Constructor & Destructor Documentation

◆ GismoModel()

template<class T >
iganet::webapp::GismoModel< T >::GismoModel ( )
inline

Default constructor.

◆ ~GismoModel()

template<class T >
iganet::webapp::GismoModel< T >::~GismoModel ( )
inline

Destructor.

Member Function Documentation

◆ to_json()

template<class T >
virtual nlohmann::json iganet::webapp::GismoModel< 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::Model< T >.

Reimplemented in iganet::webapp::GismoGeometryModel< d, T >, and iganet::webapp::GismoPdeModel< d, T >.

◆ updateAttribute()

template<class T >
virtual nlohmann::json iganet::webapp::GismoModel< T >::updateAttribute ( const std::string &  patch,
const std::string &  component,
const std::string &  attribute,
const nlohmann::json &  json 
)
inlineoverridevirtual

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