First, we set the necessary conditions, as was done in the previous section.
After the data initialization and declarations, the solver requires a list of nodes with boundary conditions and the fields that have been assigned.
In this example, all the selected nodes will be output and the 3 conditions will also be printed. The columns will be output with no apparent format.
Once again, the code begins with a subsection header for the solver program and a commentary line for the user:
Then comes the first line of the output list, the header:
The next part the loop instruction, in this case over nodes, and with the specification argument *OnlyInCond, to iterate only over the entities that have the condition assigned. This is the condition that has been set on the previous lines.
The next line is the format command, followed by the lines with the commands to fill the fields of the list.
The *format command influence also includes the following two if sentences. If the degrees of freedom field contains an integer equal or greater than 3, the number of properties will be output.
And if the value of the same field is equal to 5 the output will be a pair of zeros.
The next line ouputs the values contained in the second and fourth fields, both real numbers.
In a similar manner to the previous if sentences, here are some lines of code which will output the sixth condition field value if the number of degrees of freedom is equal or greater than three, and will output a pair of zeros if it is equal to five.
Finally, to end the section, the *end command closes the previous *loop. The last line is the label of the end of the section.
The full set of commands included in this section are as follows: