Glyph Version 7.22.2 Mode Types - - Solver |
pw:: SolverThe solver mode type Derives FromSummary
run
This action runs the solver. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. Unlike most commands that support progress updates, if the user aborts this command, instead of reverting to the previous state the entities being solved will be left as is. ExampleSee pw.EllipticSolver, pw.ExtrusionSolver, pw.HighOrderSolver, pw.ReExtrusionSolver, pw.UnstructuredSolver, pw.VoxelSolver. resume
This action resumes running the solver. It does nothing if the solver has not been run yet, or if the previous run has completed. ParametersThis action has no parameters. ReturnsThis action returns nothing. InformationThis command supports progress updates. Unlike most commands that support progress updates, if the user aborts this command, instead of reverting to the previous state the entities being solved will be left as is. getCompletedSteps
This action returns the number of steps completed by the last call to run or resume. ParametersThis action has no parameters. ReturnsThis action returns the integer number of steps completed. InformationThe number of completed steps will only be valid when the previous solver run used the steps parameter. When steps are run on structured blocks, the value returned is for all blocks processed. When steps are run on unstructured or iso voxel blocks, the value returned is only for the last block processed. getCompletedEntities
This action returns the list of entities completed by the last call to run or resume. ParametersThis action has no parameters. ReturnsThis action returns a list of pw::Entity objects that have been completed. InformationThe list of completed entities will only be populated if the previous solver run used the method parameter. getFailedEntities
This action returns the list of entities failed by the last call to run or resume. ParametersThis action has no parameters. ReturnsThis action returns a list of pw::Entity objects that failed. InformationThe list of failed entities will only be populated if the previous solver run used the method parameter. |
This action runs the solver.
$solver run ?-entities ents? ?steps | method ?method_args??
This action resumes running the solver.
$solver resume
This action returns the number of steps completed by the last call to run or resume.
$solver getCompletedSteps
This action returns the list of entities completed by the last call to run or resume.
$solver getCompletedEntities
This action returns the list of entities failed by the last call to run or resume.
$solver getFailedEntities