IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet::Model< T > Class Template Referenceabstract

Model interface. More...

#include </home/runner/work/iganet/iganet/webapps/model.hpp>

Inheritance diagram for iganet::Model< T >:
iganet::Poisson2dModel< T > iganet::webapp::GismoModel< 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

 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.
 
virtual nlohmann::json to_json (const std::string &patch, const std::string &component, const std::string &attribute) const
 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)
 Updates the attributes of the model.
 

Detailed Description

template<typename T>
class iganet::Model< T >

Model interface.

Constructor & Destructor Documentation

◆ Model()

template<typename T >
iganet::Model< T >::Model ( )
inline

Constructor.

◆ ~Model()

template<typename T >
virtual iganet::Model< T >::~Model ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ getCapabilities()

template<typename T >
virtual nlohmann::json iganet::Model< T >::getCapabilities ( ) const
inlinevirtual

Returns the model's capabilities.

◆ getDescription()

◆ getInputs()

template<typename T >
virtual nlohmann::json iganet::Model< T >::getInputs ( ) const
pure virtual

◆ getModel()

template<typename T >
virtual nlohmann::json iganet::Model< T >::getModel ( ) const
inlinevirtual

Returns the model's JSON serialization.

◆ getName()

◆ getOptions()

template<typename T >
virtual nlohmann::json iganet::Model< T >::getOptions ( ) const
pure virtual

◆ getOutputs()

◆ getParameters()

◆ to_json()

template<typename T >
virtual nlohmann::json iganet::Model< T >::to_json ( const std::string &  patch,
const std::string &  component,
const std::string &  attribute 
) const
inlinevirtual

◆ updateAttribute()

template<typename T >
virtual nlohmann::json iganet::Model< T >::updateAttribute ( const std::string &  patch,
const std::string &  component,
const std::string &  attribute,
const nlohmann::json &  json 
)
inlinevirtual

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