Go to the documentation of this file.
18 #ifndef __FINLEY_DOMAINFACTORY_H__
19 #define __FINLEY_DOMAINFACTORY_H__
21 #include <finley/FinleyDomain.h>
23 #include <boost/python/list.hpp>
71 double l0=1.0,
double l1=1.0,
double l2=1.0,
72 bool periodic0=
false,
bool periodic1=
false,
bool periodic2=
false,
73 int integrationOrder=-1,
int reducedIntegrationOrder=-1,
74 bool useElementsOnFace=
false,
75 bool useFullElementOrder=
false,
bool optimize=
false,
76 const std::vector<double>& points=std::vector<double>(),
77 const std::vector<int>& tags=std::vector<int>(),
78 const std::map<std::string, int>& tagNamesToNums=std::map<std::string, int>());
111 double l0 = 1.0,
double l1 = 1.0,
112 bool periodic0 =
false,
bool periodic1 =
false,
113 int integrationOrder = -1,
114 int reducedIntegrationOrder = -1,
115 bool useElementsOnFace =
false,
116 bool useFullElementOrder =
false,
117 bool optimize =
false,
118 const std::vector<double>& points = std::vector<double>(),
119 const std::vector<int>& tags = std::vector<int>(),
120 const std::map<std::string, int>& tagNamesToNums = std::map<std::string, int>());
145 double safetyFactor = 0.2,
double tolerance = 1.e-8,
146 bool optimize =
false);
157 double safetyFactor = 0.2,
double tolerance = 1.e-8,
158 bool optimize =
false);
162 #endif // __FINLEY_DOMAINFACTORY_H__
Domain_ptr brick_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:1105
boost::shared_ptr< AbstractDomain > Domain_ptr
Definition: AbstractDomain.h:41
Domain_ptr rectangle(JMPI info, dim_t n0, dim_t n1, int order, double l0, double l1, bool periodic0, bool periodic1, int integrationOrder, int reducedIntegrationOrder, bool useElementsOnFace, bool useFullElementOrder, bool optimize, const vector< double > &points, const vector< int > &tags, const std::map< std::string, int > &tagNamesToNums)
Creates a 2-dimensional rectangular mesh with n0 x n1 elements over the rectangle [0,...
Definition: finley/src/DomainFactory.cpp:1170
double l2(dim_t n, const double *x, escript::JMPI mpiinfo)
returns the global L2 norm of x
Definition: PasoUtil.cpp:502
index_t dim_t
Definition: DataTypes.h:65
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:72
Domain_ptr readGmsh_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:985
Domain_ptr joinFaces(const bp::list &meshList, double safetyFactor, double tolerance, bool optimize)
Definition: finley/src/DomainFactory.cpp:1300
Domain_ptr brick(JMPI info, dim_t n0, dim_t n1, dim_t n2, int order, double l0, double l1, double l2, bool periodic0, bool periodic1, bool periodic2, int integrationOrder, int reducedIntegrationOrder, bool useElementsOnFace, bool useFullElementOrder, bool optimize, const std::vector< double > &points, const std::vector< int > &tags, const std::map< std::string, int > &tagNamesToNums)
Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,...
Definition: finley/src/DomainFactory.cpp:1066
Domain_ptr glueFaces(const bp::list &meshList, double safetyFactor, double tolerance, bool optimize)
Definition: finley/src/DomainFactory.cpp:1288
Domain_ptr rectangle_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:1207
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:32
Domain_ptr readMesh_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:904
Domain_ptr meshMerge(const bp::list &meshList)
Definition: finley/src/DomainFactory.cpp:1272