gf_mdstate_get

Purpose

Query information on a mdstate object mds.

Synopsis

gf_mdstate_get('is_complex')
gf_mdstate_get('tangent_matrix')
gf_mdstate_get('constraints_matrix')
gf_mdstate_get('reduced_tangent_matrix')
gf_mdstate_get('constraints_nullspace')
gf_mdstate_get('state')
gf_mdstate_get('residual')
gf_mdstate_get('reduced_residual')
gf_mdstate_get('unreduce', vec U)
gf_mdstate_get('memsize')

Description

gf_mdstate_get('is_complex') : return 0 if the model state is real, 1 if it is complex.

gf_mdstate_get('tangent_matrix') : return the tangent matrix stored in the model state.

gf_mdstate_get('constraints_matrix') : return the constraints matrix stored in the model state.

gf_mdstate_get('reduced_tangent_matrix') : return the reduced tangent matrix (i.e. the tangent matrix after elimination of the constraints).

gf_mdstate_get('constraints_nullspace') : return the nullspace of the constraints matrix.

gf_mdstate_get('state') : return the vector of unknowns, which contains the solution after gf_mdbrick_get('solve').

gf_mdstate_get('residual') : return the residual.

gf_mdstate_get('reduced_residual') : return the residual on the reduced system. gf_mdstate_get('unreduce', U) : reinsert the constraint eliminated from the system.

gf_mdstate_get('memsize') : return the amount of memory (in bytes) used by the model state.