3.3.2. printA
- printA <-file $fileName> <-m $m> <-c $c> <-k $k>
|
string |
file name to write tangent to. |
|
float |
factor with which to scale the inertial part of the tangent (OpenSeesRT only). |
|
float |
factor with which to scale the damped part of the tangent (OpenSeesRT only). |
|
float |
factor with which to scale the static part of the tangent (OpenSeesRT only). |
Print the contents of the matrix that the integrator
creates to the screen or a file if the -file
option is used.
If using a
static integrator, the resulting matrix is the stiffness matrix. If a
transient integrator, it will be some combination of mass and stiffness
matrices.
Note
The full version of this command as documented above is supported from Python and Tcl
through OpenSeesRT.
In OpenSeesPy and older Tcl versions this command only works with the FullGeneral linear system,
and the GimmeMCK
integrator must be used to specify m
c
and k
factors.
3.3.2.1. Examples
The following examples will return a matrix \(\mathbf{A}\) that is given by a linear combination of the mass \(\mathbf{M}\) and stiffness \(\mathbf{K}\):
In Tcl:
printA -m 0.5 -k 0.1
and in Python with OpenSeesRT:
A = model.getTangent(m=0.5, k=0.1)