escript  Revision_
Namespaces | Functions
dudley/src/DomainFactory.cpp File Reference
#include <dudley/DomainFactory.h>
#include <escript/index.h>
#include <escript/SubWorld.h>
#include <boost/python/extract.hpp>
#include <boost/scoped_array.hpp>
#include <sstream>

Namespaces

 dudley
 A suite of factory methods for creating 2D and 3D dudley domains.
 

Functions

void dudley::cleanupAndThrow (DudleyDomain *dom, string msg)
 
Domain_ptr dudley::readMesh (const std::string &fileName, int integrationOrder=-1, int reducedIntegrationOrder=-1, bool optimize=false)
 reads a mesh from a fly file. For MPI parallel runs fans out the mesh to multiple processes. More...
 
Domain_ptr dudley::readGmsh (const std::string &fileName, int numDim, int integrationOrder=-1, int reducedIntegrationOrder=-1, bool optimize=false)
 reads a gmsh mesh file More...
 
Domain_ptr dudley::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)
 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 dudley::brick_driver (const bp::list &args)
 
Domain_ptr dudley::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)
 Creates a 2-dimensional rectangular mesh with n0 x n1 x 2 Tri3 elements over the rectangle [0,l0] x [0,l1]. The doubling of elements is due to splitting of rectangular elements. More...
 
Domain_ptr dudley::rectangle_driver (const bp::list &args)