ESYS13
Revision_
|
#include "system_dep.h"
#include "finley/Finley.h"
#include "finley/Mesh.h"
#include "finley/RectangularMesh.h"
#include "MeshAdapter.h"
#include "escript/AbstractContinuousDomain.h"
#include <boost/python/list.hpp>
#include <sstream>
Go to the source code of this file.
Namespaces | |
namespace | finley |
Functions | |
Domain_ptr | finley::loadMesh (const std::string &fileName) |
A suite of factory methods for creating various MeshAdapters. | |
Domain_ptr | finley::readMesh (const std::string &fileName, int integrationOrder=-1, int reducedIntegrationOrder=-1, int optimize=0) |
Read a mesh from a file. For MPI parallel runs fan out the mesh to multiple processes. | |
Domain_ptr | finley::readGmsh (const std::string &fileName, int numDim, int integrationOrder=-1, int reducedIntegrationOrder=-1, int optimize=0, int useMacroElements=0) |
Read a gmsh mesh file. | |
escript::Domain_ptr | finley::brick (int n0=1, int n1=1, int n2=1, int order=1, double l0=1.0, double l1=1.0, double l2=1.0, int periodic0=0, int periodic1=0, int periodic2=0, int integrationOrder=-1, int reducedIntegrationOrder=-1, int useElementsOnFace=0, int useFullElementOrder=0, int optimize=0, 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]. | |
Domain_ptr | finley::brick_driver (const boost::python::list &args) |
Python driver for brick() | |
Domain_ptr | finley::rectangle_driver (const boost::python::list &args) |
Python driver for rectangle() | |
escript::Domain_ptr | finley::rectangle (int n0=1, int n1=1, int order=1, double l0=1.0, double l1=1.0, int periodic0=false, int periodic1=false, int integrationOrder=-1, int reducedIntegrationOrder=-1, int useElementsOnFace=0, int useFullElementOrder=0, int optimize=0, 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]. | |
Domain_ptr | finley::meshMerge (const boost::python::list &meshList) |
Merges a list of meshes into one list. | |
Domain_ptr | finley::glueFaces (const boost::python::list &meshList, double safetyFactor=0.2, double tolerance=1.e-8, int optimize=0) |
Detects matching faces in the mesh, removes them from the mesh and joins the elements touched by the face elements. | |
Domain_ptr | finley::joinFaces (const boost::python::list &meshList, double safetyFactor=0.2, double tolerance=1.e-8, int optimize=0) |
Detects matching faces in the mesh and replaces them by joint elements. |