17 #ifndef __FINLEY_DOMAINFACTORY_H__ 18 #define __FINLEY_DOMAINFACTORY_H__ 20 #include <finley/FinleyDomain.h> 22 #include <boost/python/list.hpp> 70 double l0=1.0,
double l1=1.0,
double l2=1.0,
71 bool periodic0=
false,
bool periodic1=
false,
bool periodic2=
false,
72 int integrationOrder=-1,
int reducedIntegrationOrder=-1,
73 bool useElementsOnFace=
false,
74 bool useFullElementOrder=
false,
bool optimize=
false,
75 const std::vector<double>& points=std::vector<double>(),
76 const std::vector<int>& tags=std::vector<int>(),
77 const std::map<std::string, int>& tagNamesToNums=std::map<std::string, int>());
110 double l0 = 1.0,
double l1 = 1.0,
111 bool periodic0 =
false,
bool periodic1 =
false,
112 int integrationOrder = -1,
113 int reducedIntegrationOrder = -1,
114 bool useElementsOnFace =
false,
115 bool useFullElementOrder =
false,
116 bool optimize =
false,
117 const std::vector<double>& points = std::vector<double>(),
118 const std::vector<int>& tags = std::vector<int>(),
119 const std::map<std::string, int>& tagNamesToNums = std::map<std::string, int>());
144 double safetyFactor = 0.2,
double tolerance = 1.e-8,
145 bool optimize =
false);
156 double safetyFactor = 0.2,
double tolerance = 1.e-8,
157 bool optimize =
false);
161 #endif // __FINLEY_DOMAINFACTORY_H__ double l2(dim_t n, const double *x, escript::JMPI mpiinfo)
returns the global L2 norm of x
Definition: PasoUtil.cpp:501
Domain_ptr rectangle_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:776
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:739
boost::shared_ptr< AbstractDomain > Domain_ptr
Definition: AbstractDomain.h:36
Domain_ptr readMesh_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:473
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:71
Domain_ptr brick_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:674
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:31
Domain_ptr glueFaces(const bp::list &meshList, double safetyFactor, double tolerance, bool optimize)
Definition: finley/src/DomainFactory.cpp:857
Domain_ptr joinFaces(const bp::list &meshList, double safetyFactor, double tolerance, bool optimize)
Definition: finley/src/DomainFactory.cpp:869
Domain_ptr meshMerge(const bp::list &meshList)
Definition: finley/src/DomainFactory.cpp:841
Domain_ptr readGmsh_driver(const bp::list &args)
Definition: finley/src/DomainFactory.cpp:554
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:635
index_t dim_t
Definition: DataTypes.h:64