Template for a design which defines the input for a mesh
generator.
|
__init__(self,
dim=3,
element_size=1.0,
order=1,
keep_files=False)
Initializes a design. |
|
|
|
addItems(self,
*items)
Adds items to the design. |
|
|
|
clearItems(self)
Removes all items from the design. |
|
|
|
getAllPrimitives(self)
Returns a list of all primitives used to create the design. |
|
|
|
getDim(self,
dim=3)
Returns the spatial dimension. |
|
|
|
getElementOrder(self)
Returns the element order. |
|
|
|
getElementSize(self)
Returns the global element size. |
|
|
|
getItems(self)
Returns a list of the items used in the design. |
|
|
|
|
|
|
|
keepFiles(self)
Returns True if work files are kept, False otherwise. |
|
|
|
setDim(self,
dim=3)
Sets the spatial dimension. |
|
|
|
setElementOrder(self,
order=1)
Sets the element order. |
|
|
|
setElementSize(self,
element_size=1.0)
Sets the global element size. |
|
|
|
setKeepFilesOff(self)
Work files are deleted at the end of the generation |
|
|
|
setKeepFilesOn(self)
Work files are kept at the end of the generation. |
|
|
|
setOptions(self,
**kwargs)
Sets options of the mesh generator. |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|