finley/src/DomainFactory.cpp File Reference
`#include <finley/DomainFactory.h>`
`#include <escript/index.h>`
`#include <escript/SubWorld.h>`
`#include <boost/python/extract.hpp>`
`#include <boost/scoped_array.hpp>`
`#include <sstream>`

## Namespaces

| finley
| A suite of factory methods for creating various finley domains.

## Functions

void | finley::cleanupAndThrow (FinleyDomain *dom, string msg)
Domain_ptr | finley::readMesh_driver (const bp::list &args)
Domain_ptr | finley::readGmsh_driver (const bp::list &args)

Domain_ptr

finley::brick (escript::JMPI jmpi, dim_t n0=1, dim_t n1=1, dim_t n2=1, int order=1, double l0=1.0, double l1=1.0, double l2=1.0, 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 bp::list &args)

Domain_ptr

finley::rectangle (escript::JMPI jmpi, dim_t n0=1, dim_t n1=1, int 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 2-dimensional rectangular mesh with n0 x n1 elements over the rectangle [0,l0] x [0,l1]. More...
Domain_ptr | finley::rectangle_driver (const bp::list &args)
Domain_ptr | finley::meshMerge (const bp::list &meshList)
Domain_ptr | finley::glueFaces (const bp::list &meshList, double safetyFactor, double tolerance, bool optimize)
Domain_ptr | finley::joinFaces (const bp::list &meshList, double safetyFactor, double tolerance, bool optimize)