General Information
This section contains information about general solution object information methods, listed in the following table and further described below.
•
model.sol(<tag>).isAttached() returns true if the solution solver sequence is attached to a study.
•
model.sol(<tag>).isRealU() returns true if the solution is real.
•
model.sol(<tag>).isRealU(<solnum>) returns true if solution <solnum> is real.
•
model.sol(<tag>).isRealU(<solnum>,<uType>) returns true if the solution <solnum> of type <uType> is real.
•
model.sol(<tag>).isRealU(<solnum>,<uType>,<uNum>) returns true if the solution <solnum> of type <uType> and solution index <uNum> is real.
•
model.sol(<tag>).isRealUDot() returns true if the first time derivative is real.
•
model.sol(<tag>).isRealUDot(<solnum>) returns true if first time derivative <solnum> is real.
•
model.sol(<tag>).isRealPVals() returns true if the parameter values are real.
•
model.sol(<tag>).isRealU() returns true if the solution vector is real.
•
model.sol(<tag>).getType() returns a string for the solution type which can be any of the strings; Stationary, Parametric, Time, Eigenvalue, and None.
•
model.sol(<tag>).getSequenceType() returns a string for the solver sequence type, which can be any of the strings SolverSequence, CopySolution, ParametricStore, Stored, Parametric, and None.
•
model.sol(<tag>).getSize() returns an array of sizes for the solution data. The number of degrees of freedoms is stored in the first position and the number of solutions (solnums) in the second.
•
model.sol(<tag>).getSize(<iMulti>) returns an array of sizes for the solution number <iMulti> of the multi-solution. The number of degrees of freedoms is stored in the first position and the number of solutions (solnums) in the second.
•
model.sol(<tag>).getSizeMulti() returns an array of sizes for the multi-solution. The number of local solution objects is stored in the first position and the total number of solutions (solnums) in the second.
•
model.sol(<tag>).getMesh(<geom>) returns the mesh name associated with the solution and the geometry <geom>.
•
model.sol(<tag>).getMesh(<geom>,<iMulti>) returns the mesh name associated with the solution number <iMulti> of the multi solution and the geometry <geom>.
•
model.sol(<tag>).getNU(<uType>) returns the number of solutions stored of the type <uType>. Here <uType> is the solution type as a string: Sol (main solution), Reacf (reaction force), Adj (adjoint solution), Fsens (functional sensitivity), and Sens (forward sensitivity).
•
model.sol(<tag>).getPNames() returns the parameter names from continuation solver as an array of strings.
•
model.sol(<tag>).getParamNames() returns the parameter names from a parametric sweep as an array of strings.
•
model.sol(<tag>).getParamVals() returns the parameter values from a parametric sweep as an array of double.