/[escript]/trunk/dudley/src/CPPAdapter/MeshAdapterFactory.h
ViewVC logotype

Diff of /trunk/dudley/src/CPPAdapter/MeshAdapterFactory.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 934 by gross, Tue Jan 23 09:52:45 2007 UTC revision 1059 by gross, Fri Mar 23 11:01:53 2007 UTC
# Line 44  namespace finley { Line 44  namespace finley {
44       \param fileName Input -  The name of the file.       \param fileName Input -  The name of the file.
45       \param integrationOrder Input - order of the quadrature scheme.         \param integrationOrder Input - order of the quadrature scheme.  
46       If integrationOrder<0 the integration order is selected independently.       If integrationOrder<0 the integration order is selected independently.
47         \param reducedIntegrationOrder Input - order of the reduced quadrature scheme.  
48         If reducedIntegrationOrder<0 the integration order is selected independently.
49         \param optimizeLabeling Input - switches on the optimization of node labels
50    */    */
51    FINLEY_DLL_API    FINLEY_DLL_API
52    escript::AbstractContinuousDomain* readMesh(const std::string& fileName,    escript::AbstractContinuousDomain* readMesh(const std::string& fileName,
53                       int integrationOrder=-1);                       int integrationOrder=-1,
54                                         int reducedIntegrationOrder=-1,
55                                         bool optimizeLabeling=true);
56    /**    /**
57       \brief       \brief
58       Read a gmsh mesh file       Read a gmsh mesh file
# Line 73  namespace finley { Line 78  namespace finley {
78       \param n0,n1,n2 Input - number of elements in each dimension       \param n0,n1,n2 Input - number of elements in each dimension
79       \param order Input - =1 or =2 gives the order of shape function       \param order Input - =1 or =2 gives the order of shape function
80       \param l0,l1,l2 Input - length of each side of brick       \param l0,l1,l2 Input - length of each side of brick
81       \param integrationOrder Input - order of the quadrature scheme.       \param integrationOrder Input - order of the quadrature scheme.  
82         If integrationOrder<0 the integration order is selected independently.
83         \param reducedIntegrationOrder Input - order of the reduced quadrature scheme.  
84         If reducedIntegrationOrder<0 the integration order is selected independently.
85       \param useElementsOnFace Input - whether or not to use elements on face       \param useElementsOnFace Input - whether or not to use elements on face
86       \param periodic0, periodic1, periodic2 Input - whether or not boundary       \param periodic0, periodic1, periodic2 Input - whether or not boundary
87       conditions of the dimension are periodic       conditions of the dimension are periodic
# Line 84  namespace finley { Line 92  namespace finley {
92              int periodic0=0,int periodic1=0,              int periodic0=0,int periodic1=0,
93              int periodic2=0,              int periodic2=0,
94              int integrationOrder=-1,              int integrationOrder=-1,
95                        int reducedIntegrationOrder=-1,
96              int useElementsOnFace=0);              int useElementsOnFace=0);
97    /**    /**
98       \brief       \brief
# Line 96  namespace finley { Line 105  namespace finley {
105       \param integrationOrder Input - order of the quadrature scheme.       \param integrationOrder Input - order of the quadrature scheme.
106       If integrationOrder<0 the integration order is selected       If integrationOrder<0 the integration order is selected
107       independently.       independently.
108         \param reducedIntegrationOrder Input - order of the reduced quadrature scheme.  
109         If reducedIntegrationOrder<0 the integration order is selected independently.
110       \param periodic0, periodic1 Input - whether or not the boundary       \param periodic0, periodic1 Input - whether or not the boundary
111       conditions of the dimension are periodic       conditions of the dimension are periodic
112       \param useElementsOnFace Input - whether or not to use elements on face       \param useElementsOnFace Input - whether or not to use elements on face
# Line 105  namespace finley { Line 116  namespace finley {
116                        double l0=1.0, double l1=1.0,                        double l0=1.0, double l1=1.0,
117                        int periodic0=false,int periodic1=false,                        int periodic0=false,int periodic1=false,
118                        int integrationOrder=-1,                        int integrationOrder=-1,
119                                          int reducedIntegrationOrder=-1,
120                        int useElementsOnFace=false);                        int useElementsOnFace=false);
121    /**    /**
122       \brief       \brief
# Line 115  namespace finley { Line 127  namespace finley {
127       \param integrationOrder Input - order of the quadrature scheme.       \param integrationOrder Input - order of the quadrature scheme.
128       If integrationOrder<0 the integration order is selected       If integrationOrder<0 the integration order is selected
129       independently.       independently.
130         \param reducedIntegrationOrder Input - order of the reduced quadrature scheme.  
131         If reducedIntegrationOrder<0 the integration order is selected independently.
132       \param periodic0 Input - whether or not the boundary conditions are       \param periodic0 Input - whether or not the boundary conditions are
133       periodic       periodic
134       \param useElementsOnFace Input - whether or not to use the elements       \param useElementsOnFace Input - whether or not to use the elements
# Line 124  namespace finley { Line 138  namespace finley {
138    escript::AbstractContinuousDomain* interval(int n0=1,int order=1,double l0=1.0,    escript::AbstractContinuousDomain* interval(int n0=1,int order=1,double l0=1.0,
139                       int periodic0=false,                       int periodic0=false,
140                       int integrationOrder=-1,                       int integrationOrder=-1,
141                                         int reducedIntegrationOrder=-1,
142                       int useElementsOnFace=false);                       int useElementsOnFace=false);
143    /**    /**
144       \brief       \brief
# Line 139  namespace finley { Line 154  namespace finley {
154       \param meshList Input - The list of meshes.       \param meshList Input - The list of meshes.
155       \param safetyFactor Input - ??       \param safetyFactor Input - ??
156       \param tolerance Input - ??       \param tolerance Input - ??
157         \param optimizeLabeling Input - switches on the optimization of node labels
158    */    */
159    FINLEY_DLL_API    FINLEY_DLL_API
160    escript::AbstractContinuousDomain* glueFaces(const boost::python::list& meshList,    escript::AbstractContinuousDomain* glueFaces(const boost::python::list& meshList,
161                 double safetyFactor=0.2,                 double safetyFactor=0.2,
162                 double tolerance=1.e-8);                 double tolerance=1.e-8,
163                               bool optimizeLabeling=true);
164    /**    /**
165       \brief       \brief
166       Detects matching faces in the mesh and replaces them by joint elements.       Detects matching faces in the mesh and replaces them by joint elements.
167       \param meshList Input - The list of meshes.       \param meshList Input - The list of meshes.
168       \param safetyFactor Input - ??       \param safetyFactor Input - ??
169       \param tolerance Input - ??       \param tolerance Input - ??
170         \param optimizeLabeling Input - switches on the optimization of node labels
171    */    */
172    FINLEY_DLL_API    FINLEY_DLL_API
173    escript::AbstractContinuousDomain* joinFaces(const boost::python::list& meshList,    escript::AbstractContinuousDomain* joinFaces(const boost::python::list& meshList,
174              double safetyFactor=0.2,              double safetyFactor=0.2,
175              double tolerance=1.e-8);              double tolerance=1.e-8,
176                            bool optimizeLabeling=true);
177    
178  } // end of namespace  } // end of namespace
179  #endif  #endif

Legend:
Removed from v.934  
changed lines
  Added in v.1059

  ViewVC Help
Powered by ViewVC 1.1.26