escript  Revision_Unversioneddirectory
Namespaces | Functions
finley/src/CPPAdapter/MeshAdapterFactory.h File Reference
#include "system_dep.h"
#include <finley/Finley.h>
#include <finley/Mesh.h>
#include <finley/RectangularMesh.h>
#include "MeshAdapter.h"
#include <escript/AbstractContinuousDomain.h>
#include <escript/SubWorld.h>
#include <boost/python/list.hpp>
#include <sstream>

Go to the source code of this file.

Namespaces

 finley
 

Functions

Domain_ptr finley::loadMesh (const std::string &fileName)
 A suite of factory methods for creating various MeshAdapters. More...
 
escript::Domain_ptr finley::readMesh (const std::string &fileName, int integrationOrder=-1, int reducedIntegrationOrder=-1, bool optimize=false, const std::vector< double > &points=std::vector< double >(), const std::vector< int > &tags=std::vector< int >())
 Read a mesh from a file. For MPI parallel runs fan out the mesh to multiple processes. More...
 
Domain_ptr finley::readMesh_driver (const boost::python::list &args)
 Python driver for readMesh() More...
 
escript::Domain_ptr finley::readGmsh (const std::string &fileName, int numDim, int integrationOrder=-1, int reducedIntegrationOrder=-1, bool optimize=false, bool useMacroElements=false, const std::vector< double > &points=std::vector< double >(), const std::vector< int > &tags=std::vector< int >())
 Read a gmsh mesh file. More...
 
Domain_ptr finley::readGmsh_driver (const boost::python::list &args)
 Python driver for readGMesh() More...
 
escript::Domain_ptr finley::brick (esysUtils::JMPI &info, dim_t n0=1, dim_t n1=1, dim_t n2=1, int order=1, double l0=1., double l1=1., double l2=1., bool periodic0=false, bool periodic1=false, bool periodic2=false, int integrationOrder=-1, int reducedIntegrationOrder=-1, bool useElementsOnFace=false, bool useFullElementOrder=false, bool optimize=false, const std::vector< double > &points=std::vector< double >(), const std::vector< int > &tags=std::vector< int >(), const std::map< std::string, int > &tagNamesToNums=std::map< std::string, int >())
 Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2]. More...
 
Domain_ptr finley::brick_driver (const boost::python::list &args)
 Python driver for brick() More...
 
Domain_ptr finley::rectangle_driver (const boost::python::list &args)
 Python driver for rectangle() More...
 
escript::Domain_ptr finley::rectangle (esysUtils::JMPI &info, dim_t n0=1, dim_t n1=1, dim_t order=1, double l0=1.0, double l1=1.0, bool periodic0=false, bool periodic1=false, int integrationOrder=-1, int reducedIntegrationOrder=-1, bool useElementsOnFace=false, bool useFullElementOrder=false, bool optimize=false, const std::vector< double > &points=std::vector< double >(), const std::vector< int > &tags=std::vector< int >(), const std::map< std::string, int > &tagNamesToNums=std::map< std::string, int >())
 Creates a rectangular mesh with n0 x n1 elements over the brick [0,l0] x [0,l1]. More...
 
Domain_ptr finley::meshMerge (const boost::python::list &meshList)
 Merges a list of meshes into one list. More...
 
Domain_ptr finley::glueFaces (const boost::python::list &meshList, double safetyFactor=0.2, double tolerance=1.e-8, bool optimize=false)
 Detects matching faces in the mesh, removes them from the mesh and joins the elements touched by the face elements. More...
 
Domain_ptr finley::joinFaces (const boost::python::list &meshList, double safetyFactor=0.2, double tolerance=1.e-8, bool optimize=false)
 Detects matching faces in the mesh and replaces them by joint elements. More...