Package esys :: Package dudley
[hide private]
[frames] | no frames]

Package dudley


Copyright: Copyright (c) 2003-2010 by University of Queensland Earth Systems Science Computational Center (ESSCC) http://www.uq.edu.au/esscc Primary Business: Queensland, Australia

License: Licensed under the Open Software License version 3.0 http://www.opensource.org/licenses/osl-3.0.php

Submodules [hide private]

Functions [hide private]
 
Brick(...)
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.
Domain
LoadMesh(...)
Domain
ReadGmsh(...)
Read a gmsh mesh file
Domain
ReadMesh(...)
Read a mesh from a file.
 
Rectangle(...)
Creates a triangular mesh by subdividing n0 x n1 rectangular elements over the brick [0,l0] x [0,l1].We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes.
Variables [hide private]
  __package__ = 'esys.dudley'
  __url__ = 'https://launchpad.net/escript-finley'
Function Details [hide private]

Brick(...)

 
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

ReadGmsh(...)

 
ReadGmsh( (str)fileName='file.msh', (int)numDim [, (int)integrationOrder=-1 [, (int)reducedIntegrationOrder=-1 [, (int)optimize=True [, (int)useMacroElements=False]]]]) -> Domain :
Read a gmsh mesh file
Parameters:
  • fileName (string)
  • integrationOrder (int) - 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.
  • optimize (bool) - Enable optimisation of node labels
  • useMacroElements (bool) - Enable the usage of macro elements instead of second order elements.
Returns: Domain

ReadMesh(...)

 
ReadMesh([ (str)fileName='file.fly' [, (int)integrationOrder=-1 [, (int)reducedIntegrationOrder=-1 [, (int)optimize=True]]]]) -> Domain :
Read a mesh from a file. For MPI parallel runs fan out the mesh to multiple processes.
Parameters:
  • fileName (string)
  • integrationOrder (int) - 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.
  • optimize (bool) - Enable optimisation of node labels
Returns: Domain

Rectangle(...)

 
Rectangle([ (float)n0=1 [, (float)n1=1 [, (int)order=1 [, (float)l0=1.0 [, (float)l1=1.0 [, (int)periodic0=False [, (int)periodic1=False [, (int)integrationOrder=-1 [, (int)reducedIntegrationOrder=-1 [, (int)useElementsOnFace=False [, (int)useFullElementOrder=False [, (int)optimize=False]]]]]]]]]]]]) -> Domain :
Creates a triangular mesh by subdividing n0 x n1 rectangular elements over the brick [0,l0] x [0,l1].We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes.
Parameters:
  • n0 ()
  • n1 ()
  • 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
  • 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
  • useFullElementOrder
  • optimize (bool)
  • useMacroElements (bool) - Enable the usage of first order macro elements.
  • optimize (bool) - Enable optimisation of node labels