Name

gf_mdstate_get — Get information from a model state object.

Calling Sequence

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

Description

  • b = gf_mdstate_get(mds,'is_complex') : Return 0 is the model state is real, 1 if it is complex.

  • T = gf_mdstate_get(mds,tangent_matrix') : Return the tangent matrix stored in the model state.

  • C = gf_mdstate_get(mds,'constraints_matrix') : Return the constraints matrix stored in the model state.

  • A = gf_mdstate_get(mds,'reduced_tangent_matrix') : Return the reduced tangent matrix (i.e. the tangent matrix after elimination of the constraints).

  • gf_mdstate_get(mds,'constraints_nullspace') : Return the nullspace of the constraints matrix.

  • gf_mdstate_get(mds,'state') : Return the vector of unknowns, which contains the solution after gf_mdbrick_get(mdb,'solve').

  • gf_mdstate_get(mds,'residual') : Return the residual.

  • gf_mdstate_get(mds,'reduced_residual') : Return the residual on the reduced system.

  • gf_mdstate_get(mds,'unreduce',vec U) : Reinsert the constraint eliminated from the system.

  • z = gf_mdstate_get(mds,'memsize') : Return the amount of memory (in bytes) used by the model state.

See Also

gf_mdstate_set, gf_mdstate

Authors

Y. Collette