gf_mdstate

Purpose

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

Synopsis

mds=gf_mdstate(mdbrick b)
mds=gf_mdstate('real')
mds=gf_mdstate('complex')

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. The constructor gf_mdstate(b) chooses the correct one from the brick complexity (gf_mdbrick_get('is_complex')) .