Name

gf_mdstate — General constructor for mdstate objects. Return a getfem handle to the newly created object.

Calling Sequence

M = gf_mdstate('complex' | 'real')

Description

"Model State" variables store the state data for a set of model bricks. This includes the global tangent matrix, the right hand side and the constraints. There are two sorts of model states, the "real" and the "complex" models states.

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

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

  • MDS = gf_mdstate('.mdbrick',MdBrick B) Build a modelstate for the brick B. Selects the real or complex state from the complexity of B.

See Also

gf_mdstate_get, gf_mdstate_set

Authors

Y. Collette