- Brick([ (float)n0=1 [, (float)n1=1 [, (float)n2=1 [, (int)order=1 [, (float)l0=1.0 [, (float)l1=1.0 [, (float)l2=1.0 [, (int)periodic0=False [, (int)periodic1=False [, (int)periodic2=False [, (int)integrationOrder=-1 [, (int)reducedIntegrationOrder=-1 [, (int)useElementsOnFace=False [, (int)useFullElementOrder=False [, (int)optimize=False]]]]]]]]]]]]]]]) -> Domain :
- Creates a tetrahedral mesh by subdividing n0 x n1 x n2 rectangular elements over the brick [0,l0] x [0,l1] x [0,l2].We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes.
- Parameters:
n0 ()
n1 ()
n2 ()
order - =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.
l0 - length of side 0
l1
l2
integrationOrder - order of the quadrature scheme. If integrationOrder<0 the integration order is selected independently.
reducedIntegrationOrder - order of the quadrature scheme. If reducedIntegrationOrder<0 the integration order is selected independently.
useElementsOnFace (int:param periodic0: whether or not boundary conditions are periodic) - whether or not to use elements on face
periodic1
periodic2
useFullElementOrder
optimize (bool)
optimize (bool) - Enable optimisation of node labels
|