Package esys :: Package finley :: Module finleycpp
[hide private]
[frames] | no frames]

Module finleycpp

Classes [hide private]
  MeshAdapter
A concrete class representing a domain.
Functions [hide private]
 
GlueFaces(...)
Detects matching faces in the mesh, removes them from the mesh and joins the elements touched by the face elements.
 
JoinFaces(...)
Detects matching faces in the mesh and replaces them by joint elements.
Domain
LoadMesh(...)
Domain
Merge(...)
Merges a list of meshes into one mesh.
Domain
ReadGmsh(...)
Read a gmsh mesh file
Domain
ReadMesh(...)
Read a mesh from a file.
 
__Brick_driver(...)
Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2].
 
__Rectangle_driver(...)
Creates a rectangular mesh with n0 x n1 elements over the brick [0,l0] x [0,l1].
Variables [hide private]
  __package__ = None
Function Details [hide private]

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

__Brick_driver(...)

 
__Brick_driver( (list)params) -> Domain :

Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2].

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

__Rectangle_driver(...)

 
__Rectangle_driver( (list)args) -> Domain :

Creates a rectangular mesh with n0 x n1 elements over the brick [0,l0] x [0,l1].

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