/[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 122 by jgs, Fri May 6 04:26:16 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 42  namespace finley { Line 42  namespace finley {
42                       int integrationOrder=-1);                       int integrationOrder=-1);
43    /**    /**
44       \brief       \brief
45       Creates a rectangular mesh with n1 x n2 x n3 elements over the brick       Creates a rectangular mesh with n0 x n1 x n2 elements over the brick
46       [0,l1] x [0,l2] x [0,l3].       [0,l0] x [0,l1] x [0,l2].
47    
48       \param n1,n2,n3 Input - number of elements in each dimension       \param n0,n1,n2 Input - number of elements in each dimension
49       \param order Input - =1 or =2 gives the order of shape function       \param order Input - =1 or =2 gives the order of shape function
50       \param l1,l2,l3 Input - length of each side of brick       \param l0,l1,l2 Input - length of each side of brick
51       \param integrationOrder Input - order of the quadrature scheme.       \param integrationOrder Input - order of the quadrature scheme.
52       \param useElementsOnFace Input - whether or not to use elements on face       \param useElementsOnFace Input - whether or not to use elements on face
53       \param periodic0, periodic1, periodic2 Input - whether or not boundary       \param periodic0, periodic1, periodic2 Input - whether or not boundary
54       conditions of the dimension are periodic       conditions of the dimension are periodic
55    */    */
56    escript::AbstractContinuousDomain* brick(int n1=1,int n2=1,int n3=1,int order=1,    escript::AbstractContinuousDomain* brick(int n0=1,int n1=1,int n2=1,int order=1,
57              double l1=1.0,double l2=1.0,double l3=1.0,              double l0=1.0,double l1=1.0,double l2=1.0,
58              int periodic0=0,int periodic1=0,              int periodic0=0,int periodic1=0,
59              int periodic2=0,              int periodic2=0,
60              int integrationOrder=-1,              int integrationOrder=-1,
61              int useElementsOnFace=0);              int useElementsOnFace=0);
62    /**    /**
63       \brief       \brief
64       Creates a rectangular mesh with n1 x n2 elements over the brick       Creates a rectangular mesh with n0 x n1 elements over the brick
65       [0,l1] x [0,l2].       [0,l0] x [0,l1].
66    
67       \param n1,n2 Input - number of elements in each dimension       \param n0,n1 Input - number of elements in each dimension
68       \param order Input - =1 or =2 gives the order of shape function       \param order Input - =1 or =2 gives the order of shape function
69       \param l1,l2 Input - length of each side of brick       \param l0,l1 Input - length of each side of brick
70       \param integrationOrder Input - order of the quadrature scheme.       \param integrationOrder Input - order of the quadrature scheme.
71       If integrationOrder<0 the integration order is selected       If integrationOrder<0 the integration order is selected
72       independently.       independently.
# Line 74  namespace finley { Line 74  namespace finley {
74       conditions of the dimension are periodic       conditions of the dimension are periodic
75       \param useElementsOnFace Input - whether or not to use elements on face       \param useElementsOnFace Input - whether or not to use elements on face
76    */    */
77    escript::AbstractContinuousDomain* rectangle(int n1=1,int n2=1,int order=1,    escript::AbstractContinuousDomain* rectangle(int n0=1,int n1=1,int order=1,
78                        double l1=1.0, double l2=1.0,                        double l0=1.0, double l1=1.0,
79                        int periodic0=false,int periodic1=false,                        int periodic0=false,int periodic1=false,
80                        int integrationOrder=-1,                        int integrationOrder=-1,
81                        int useElementsOnFace=false);                        int useElementsOnFace=false);
82    /**    /**
83       \brief       \brief
84       Creates an equidistant mesh with n elements over the interval [0,l].       Creates an equidistant mesh with n elements over the interval [0,l].
85       \param n1 Input - number of elements       \param n0 Input - number of elements
86       \param order Input - =1 or =2 gives the order of shape function.       \param order Input - =1 or =2 gives the order of shape function.
87       \param l1 Input - length of the brick       \param l0 Input - length of the brick
88       \param integrationOrder Input - order of the quadrature scheme.       \param integrationOrder Input - order of the quadrature scheme.
89       If integrationOrder<0 the integration order is selected       If integrationOrder<0 the integration order is selected
90       independently.       independently.
# Line 93  namespace finley { Line 93  namespace finley {
93       \param useElementsOnFace Input - whether or not to use the elements       \param useElementsOnFace Input - whether or not to use the elements
94       on the face       on the face
95    */    */
96    escript::AbstractContinuousDomain* interval(int n1=1,int order=1,double l1=1.0,    escript::AbstractContinuousDomain* interval(int n0=1,int order=1,double l0=1.0,
97                       int periodic0=false,                       int periodic0=false,
98                       int integrationOrder=-1,                       int integrationOrder=-1,
99                       int useElementsOnFace=false);                       int useElementsOnFace=false);

Legend:
Removed from v.122  
changed lines
  Added in v.123

  ViewVC Help
Powered by ViewVC 1.1.26