ESScript  Revision_4488
dudley/src/CPPAdapter/MeshAdapterFactory.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2013 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15 
16 
17 #if !defined dudley_MeshAdapterFactory_20040526_H
18 #define dudley_MeshAdapterFactory_20040526_H
19 #include "system_dep.h"
20 
21 #include "MeshAdapter.h"
22 
23 #include "escript/AbstractContinuousDomain.h"
24 
25 #include <boost/python/list.hpp>
26 
27 #include <sstream>
28 
29 namespace dudley {
44 /* escript::AbstractContinuousDomain* loadMesh(const std::string& fileName);*/
45  escript::Domain_ptr loadMesh(const std::string& fileName);
57 // escript::AbstractContinuousDomain* readMesh(const std::string& fileName,
58  escript::Domain_ptr readMesh(const std::string& fileName,
59  int integrationOrder=-1,
60  int reducedIntegrationOrder=-1,
61  int optimize=0);
75 // escript::AbstractContinuousDomain* readGmsh(const std::string& fileName,
76  escript::Domain_ptr readGmsh(const std::string& fileName,
77  int numDim,
78  int integrationOrder=-1,
79  int reducedIntegrationOrder=-1,
80  int optimize=0,
81  int useMacroElements=0);
101  escript::Domain_ptr brick(double n0=1,double n1=1,double n2=1,int order=1,
102  double l0=1.0,double l1=1.0,double l2=1.0,
103  int periodic0=0,int periodic1=0,
104  int periodic2=0,
105  int integrationOrder=-1,
106  int reducedIntegrationOrder=-1,
107  int useElementsOnFace=0,
108  int useFullElementOrder=0,
109  int optimize=0);
110 
131  escript::Domain_ptr rectangle(double n0=1,double n1=1,int order=1,
132  double l0=1.0, double l1=1.0,
133  int periodic0=false,int periodic1=false,
134  int integrationOrder=-1,
135  int reducedIntegrationOrder=-1,
136  int useElementsOnFace=0,
137  int useFullElementOrder=0,
138  int optimize=0);
139 
140 // /**
141 // \brief
142 // Merges a list of meshes into one list.
143 // \param meshList Input - The list of meshes.
144 // */
145 // DUDLEY_DLL_API
146 // // escript::AbstractContinuousDomain* meshMerge(const boost::python::list& meshList);
147 // escript::Domain_ptr meshMerge(const boost::python::list& meshList);
148 
149 
150 } // end of namespace
151 #endif