solution - get and set solution parameters for generic solutions using alagator
[add] [list] [present]
[nosolve] [ifpresent=<c>] [solve]
[damp] [negative]
[name = <c>]
This command allows the user to create and modify solution names and set conditions for their inclusion in the assembly. Solutions can also be listed and checked.
solution name=Potential damp negative solve add
Create a solution named potential and always solve for it. Allow the solution to have negative values, and use damping on the Newton iteration updates.
solution name = Int !damp !negative solve add
Create a solution name Int and always solve for it. Do not use damping and do not allow values to become negative.
solution name = I2 !damp !negative ifpresent = {Int Vac} add
Create a solution named I2 and solve for it if Int and Vac are also present and being solved for.
solution list
Return a list of all solutions.
solution name = Int present
Return a boolean true if Int has been defined and there is a data field with the name Int.
None.
language tutorials, language definition, callback procedures, eqn, solution, Alagator Examples