![]() |
FemProcess
The GeMA Fem Process Plugin
|
The printOptions
table is an optional field of the solver options
table that is supplied as a parameter to the FEM process functions. It can instruct the solver to print all of its internal matrices and is usefull when debugging new physics implementations or to fully understand a FEM process behavior. The supported flags are:
Attribute | Description | Type | Required | Def. Value |
---|---|---|---|---|
elementMatrices | When set to true, all element local matrices will be printed. | Boolean | No | false |
elementVectors | When set to true, all element local vectors will be printed. | Boolean | No | false |
elementDofMapping | When set to true, the element DOF mapping between local and global matrix columns will be printed. | Boolean | No | false |
assembledMatrix | When set to true, the global equivalent matrix created by the assembler from local matrices will be printed. If the assembler does not automatically merges global matrices into an equivalent matrix, the K matrix will be printed. | Boolean | No | false |
assembledVector | When set to true, the global equivalent vector created by the assembler from local vectors will be printed. If the assembler does not automatically merges global vectors into an equivalent vector, the Fe vector will be printed. | Boolean | No | false |
globalMatrices | When set to true, all global matrices, each corresponding to one of the local element matrices, will be printed. If the assembler automatically merges global matrices into an equivalent one (the default setting), a set of additional global matrices will be created for printing purposes only. | Boolean | No | false |
globalVectors | When set to true, all global vectors, each corresponding to one of the local element vectors, will be printed. If the assembler automatically merges global vectors into an equivalent one (the default setting), a set of additional global vectors will be created for printing purposes only. | Boolean | No | false |
linearSystemMatrix | When set to true, the final equivalent matrix \(K\) for the linear system \(Kx = f\) will be printed. This is the matrix used to solve the system and already treats fixed dofs. | Boolean | No | false |
linearSystemVector | When set to true, the final equivalent vector \(f\) for the linear system \(Kx = f\) will be printed. This is the vector used to solve the system and already treats fixed dofs. | Boolean | No | false |
linearSystemResult | When set to true, the global degrees of freedom vector ( \(x\)) will be printed after the \(Kx = f\) linear system has been solved. | Boolean | No | false |
format | This field controls how values will be formatted when printed. It uses a subset of the C printf() syntax, allowing the user to specify the field width, precision and format type. A format = "8.2f" statement means that the formatted value will have at least 8 characters and 2 decimal values. Allowed format specifiers are 'f' (for decimal floating point format), 'e' (for scientific notation format) and 'g' (corresponding to 'f' or 'e', whichever is shortest). | String | No | '7.2f' |