gf_mdstate — General constructor for mdstate objects. Return a getfem handle to the newly created object.
M = gf_mdstate('complex' | 'real')
"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
.