@@ -40,18 +40,18 @@ namespace bitpit {
40
40
will be created
41
41
\param haloSize is the size, expressed in number of layers, of the ghost
42
42
cells halo
43
- \param expert if true, the expert mode will be enabled
43
+ \param adaptionMode is the adaption mode that will be used for the patch
44
44
*/
45
- LineKernel::LineKernel (MPI_Comm communicator, std::size_t haloSize, bool expert )
46
- : PatchKernel(communicator, haloSize, expert )
45
+ LineKernel::LineKernel (MPI_Comm communicator, std::size_t haloSize, AdaptionMode adaptionMode )
46
+ : PatchKernel(communicator, haloSize, adaptionMode )
47
47
#else
48
48
/* !
49
49
Creates a patch.
50
50
51
- \param expert if true, the expert mode will be enabled
51
+ \param adaptionMode is the adaption mode that will be used for the patch
52
52
*/
53
- LineKernel::LineKernel (bool expert )
54
- : PatchKernel(expert )
53
+ LineKernel::LineKernel (AdaptionMode adaptionMode )
54
+ : PatchKernel(adaptionMode )
55
55
#endif
56
56
{
57
57
initialize ();
@@ -71,19 +71,19 @@ LineKernel::LineKernel(bool expert)
71
71
will be created
72
72
\param haloSize is the size, expressed in number of layers, of the ghost
73
73
cells halo
74
- \param expert if true, the expert mode will be enabled
74
+ \param adaptionMode is the adaption mode that will be used for the patch
75
75
*/
76
- LineKernel::LineKernel (int dimension, MPI_Comm communicator, std::size_t haloSize, bool expert )
77
- : PatchKernel(dimension, communicator, haloSize, expert )
76
+ LineKernel::LineKernel (int dimension, MPI_Comm communicator, std::size_t haloSize, AdaptionMode adaptionMode )
77
+ : PatchKernel(dimension, communicator, haloSize, adaptionMode )
78
78
#else
79
79
/* !
80
80
Creates a patch.
81
81
82
82
\param dimension is the dimension of the patch
83
- \param expert if true, the expert mode will be enabled
83
+ \param adaptionMode is the adaption mode that will be used for the patch
84
84
*/
85
- LineKernel::LineKernel (int dimension, bool expert )
86
- : PatchKernel(dimension, expert )
85
+ LineKernel::LineKernel (int dimension, AdaptionMode adaptionMode )
86
+ : PatchKernel(dimension, adaptionMode )
87
87
#endif
88
88
{
89
89
initialize ();
@@ -104,20 +104,20 @@ LineKernel::LineKernel(int dimension, bool expert)
104
104
will be created
105
105
\param haloSize is the size, expressed in number of layers, of the ghost
106
106
cells halo
107
- \param expert if true, the expert mode will be enabled
107
+ \param adaptionMode is the adaption mode that will be used for the patch
108
108
*/
109
- LineKernel::LineKernel (int id, int dimension, MPI_Comm communicator, std::size_t haloSize, bool expert )
110
- : PatchKernel(id, dimension, communicator, haloSize, expert )
109
+ LineKernel::LineKernel (int id, int dimension, MPI_Comm communicator, std::size_t haloSize, AdaptionMode adaptionMode )
110
+ : PatchKernel(id, dimension, communicator, haloSize, adaptionMode )
111
111
#else
112
112
/* !
113
113
Creates a patch.
114
114
115
115
\param id is the id that will be assigned to the patch
116
116
\param dimension is the dimension of the patch
117
- \param expert if true, the expert mode will be enabled
117
+ \param adaptionMode is the adaption mode that will be used for the patch
118
118
*/
119
- LineKernel::LineKernel (int id, int dimension, bool expert )
120
- : PatchKernel(id, dimension, expert )
119
+ LineKernel::LineKernel (int id, int dimension, AdaptionMode adaptionMode )
120
+ : PatchKernel(id, dimension, adaptionMode )
121
121
#endif
122
122
{
123
123
}
0 commit comments