@@ -40,18 +40,18 @@ namespace bitpit {
4040 will be created
4141 \param haloSize is the size, expressed in number of layers, of the ghost
4242 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
4444*/
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 )
4747#else
4848/* !
4949 Creates a patch.
5050
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
5252*/
53- LineKernel::LineKernel (bool expert )
54- : PatchKernel(expert )
53+ LineKernel::LineKernel (AdaptionMode adaptionMode )
54+ : PatchKernel(adaptionMode )
5555#endif
5656{
5757 initialize ();
@@ -71,19 +71,19 @@ LineKernel::LineKernel(bool expert)
7171 will be created
7272 \param haloSize is the size, expressed in number of layers, of the ghost
7373 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
7575*/
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 )
7878#else
7979/* !
8080 Creates a patch.
8181
8282 \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
8484*/
85- LineKernel::LineKernel (int dimension, bool expert )
86- : PatchKernel(dimension, expert )
85+ LineKernel::LineKernel (int dimension, AdaptionMode adaptionMode )
86+ : PatchKernel(dimension, adaptionMode )
8787#endif
8888{
8989 initialize ();
@@ -104,20 +104,20 @@ LineKernel::LineKernel(int dimension, bool expert)
104104 will be created
105105 \param haloSize is the size, expressed in number of layers, of the ghost
106106 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
108108*/
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 )
111111#else
112112/* !
113113 Creates a patch.
114114
115115 \param id is the id that will be assigned to the patch
116116 \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
118118*/
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 )
121121#endif
122122{
123123}
0 commit comments