Skip to content
mrnucleation edited this page Oct 29, 2018 · 7 revisions

Create


The Create command is used to create objects such as simulation boxes, Monte Carlo moves, simulation quanity calculators, etc.

The input for this command is given as a command block and must be closed by an accompanying "end_create" command. The code will read each non-empty line between the start and the end of the command block as a new object. I.E. if there are two non-empty lines the code will create two objects the specified type.

Create (object type) [command specific parameters]
    (object 1)
    (object 2)
      ...
    (object N)
End_Create

For example if the user wishes to create two simulation boxes where one box is a perfect cube and the other box is a standard ortho-normal box. The input command would look like this:

 Create boxes
    cube
    ortho 
 End_Create

From this input Box-1 will now be a cubic box and Box-2 will be an ortho-normal box.

Object Types

Clone this wiki locally