Name

gf_model — General constructor for model objects. Return a getfem handle to the newly created object.

Calling Sequence

mds=gf_model('real')
mds=gf_model('complex')
    

Description

General constructor for model objects. Return a getfem handle to the newly created object.

"Model" variables store the variables and the state data and the description of a model. This includes the global tangent matrix, the right hand side and the constraints.

There are two kinds of models, the "real" and the "complex" models. "Model" object is the evolution for Getfem++ 4.0 of the "MdState" object.

  • MDS = gf_model('real') Build a model for real unknowns.

  • MDS = gf_model('complex') Build a model for complex unknowns.

See Also

gf_model_set, gf_model_get

Authors

Y. Collette