@@ -17,7 +17,7 @@ using namespace std;
1717namespace pfasst
1818{
1919 /* *
20- * base SDC/MLSDC/PFASST controller.
20+ * Base SDC/MLSDC/PFASST controller.
2121 *
2222 * Base controller (see also SDC, MLSDC, and PFASST controllers).
2323 *
@@ -36,7 +36,7 @@ namespace pfasst
3636 protected:
3737 // ! @{
3838 /* *
39- * ordered list of all levels.
39+ * Ordered list of all levels.
4040 *
4141 * A level is represented by a sweeper implementing the ISweeper interface.
4242 *
@@ -45,7 +45,7 @@ namespace pfasst
4545 deque<shared_ptr<ISweeper<time>>> levels;
4646
4747 /* *
48- * ordered list of transfer operators for levels.
48+ * Ordered list of transfer operators for levels.
4949 *
5050 * A transfer operator for a level must implement the ITransfer interface.
5151 */
@@ -54,17 +54,17 @@ namespace pfasst
5454
5555 // ! @{
5656 /* *
57- * current time step index.
57+ * Current time step index.
5858 */
5959 size_t step;
6060
6161 /* *
62- * current iteration index on current time step.
62+ * Current iteration index on current time step.
6363 */
6464 size_t iteration;
6565
6666 /* *
67- * maximum iterations per time step.
67+ * Maximum iterations per time step.
6868 */
6969 size_t max_iterations;
7070
@@ -74,7 +74,7 @@ namespace pfasst
7474 time t;
7575
7676 /* *
77- * width of current time step (\\( \\Delta t \\)).
77+ * Width of current time step (\\( \\Delta t \\)).
7878 */
7979 time dt;
8080
@@ -92,15 +92,15 @@ namespace pfasst
9292
9393 // ! @{
9494 /* *
95- * set options from command line etc.
95+ * Set options from command line etc.
9696 *
9797 * @param[in] all_sweepers if given also calls ISweeper::set_options for all already added
9898 * levels
9999 */
100100 virtual void set_options (bool all_sweepers = true );
101101
102102 /* *
103- * basic setup routine for this controller.
103+ * Basic setup routine for this controller.
104104 *
105105 * @pre It is expected (i.e. the user has to make that sure) that all levels and transfer
106106 * operators have been instantiated and added to this controller before calling
@@ -109,7 +109,7 @@ namespace pfasst
109109 virtual void setup ();
110110
111111 /* *
112- * set basic time scope of the Controller.
112+ * Set basic time scope of the Controller.
113113 *
114114 * @param[in] t0 time start point of the first time step
115115 * @param[in] tend time end point of the last time step
@@ -120,7 +120,7 @@ namespace pfasst
120120 virtual void set_duration (time t0, time tend, time dt, size_t niters);
121121
122122 /* *
123- * adding a level to the controller.
123+ * Adding a level to the controller.
124124 *
125125 * @param[in] sweeper sweeper representing the level
126126 * @param[in] transfer corresponding transfer operator for the level
@@ -133,12 +133,12 @@ namespace pfasst
133133
134134 // ! @{
135135 /* *
136- * total number of levels controlled by this Controller.
136+ * Total number of levels controlled by this Controller.
137137 */
138138 virtual size_t nlevels ();
139139
140140 /* *
141- * get sweeper for level with index @p level.
141+ * Get sweeper for level with index @p level.
142142 *
143143 * @tparam R type of the level sweeper
144144 * @returns sweeper of type @p R for requested level
@@ -157,7 +157,7 @@ namespace pfasst
157157 }
158158
159159 /* *
160- * get coarsest level.
160+ * Get coarsest level.
161161 *
162162 * @tparam R type of the level sweeper
163163 * @see Controller::get_level() with `level=(Controller::nlevels() - 1)`
@@ -169,7 +169,7 @@ namespace pfasst
169169 }
170170
171171 /* *
172- * get coarsest level.
172+ * Get coarsest level.
173173 *
174174 * @tparam R type of the level sweeper
175175 * @see Controller::get_level() with `level=0`
@@ -181,7 +181,7 @@ namespace pfasst
181181 }
182182
183183 /* *
184- * retreive transfer operator for level @p level.
184+ * Retreive transfer operator for level @p level.
185185 *
186186 * @tparam R type of the requested transfer operator
187187 * @param[in] level level index to retreive transfer operator for
@@ -203,7 +203,7 @@ namespace pfasst
203203
204204 // ! @{
205205 /* *
206- * get current time step index.
206+ * Get current time step index.
207207 *
208208 * The time step number is zero-based, i.e. the first time step has index `0`.
209209 *
@@ -212,71 +212,71 @@ namespace pfasst
212212 virtual size_t get_step ();
213213
214214 /* *
215- * set current time step index.
215+ * Set current time step index.
216216 *
217217 * @param[in] n index of new time step
218218 */
219219 virtual void set_step (size_t n);
220220
221221 /* *
222- * get width of current time step.
222+ * Get width of current time step.
223223 *
224224 * @returns \\( \\Delta t \\) of current time step
225225 */
226226 virtual time get_time_step ();
227227
228228 /* *
229- * get start time point of current time step.
229+ * Get start time point of current time step.
230230 *
231231 * @returns \\( t_0 \\) of current time step
232232 */
233233 virtual time get_time ();
234234
235235 /* *
236- * advance to a following time step
236+ * Advance to a following time step
237237 *
238238 * @param[in] nsteps number of time steps to advance; `1` meaning the next step
239239 */
240240 virtual void advance_time (size_t nsteps = 1 );
241241
242242 /* *
243- * get end time point of last time step.
243+ * Get end time point of last time step.
244244 *
245245 * @returns \\( T_{end} \\) of last time step.
246246 */
247247 virtual time get_end_time ();
248248
249249 /* *
250- * get current iteration index of current time step.
250+ * Get current iteration index of current time step.
251251 *
252252 * @returns current iteration index of current time step.
253253 */
254254 virtual size_t get_iteration ();
255255
256256 /* *
257- * set current iteration of current time step.
257+ * Set current iteration of current time step.
258258 *
259259 * @param[in] iter iteration index to set
260260 */
261261 virtual void set_iteration (size_t iter);
262262
263263 /* *
264- * advance to the next iteration.
264+ * Advance to the next iteration.
265265 *
266266 * This method may or may not trigger additional post-iteration procedures.
267267 */
268268 virtual void advance_iteration ();
269269
270270 /* *
271- * get maximum number of allowed iterations per time step.
271+ * Get maximum number of allowed iterations per time step.
272272 *
273273 * @returns maximum allowed iterations per time step.
274274 */
275275 virtual size_t get_max_iterations ();
276276 // ! @}
277277
278278 /* *
279- * level (MLSDC/PFASST) iterator.
279+ * Level (MLSDC/PFASST) iterator.
280280 *
281281 * This iterator is used to walk through the MLSDC/PFASST hierarchy of sweepers.
282282 * It keeps track of the _current_ level, and has convenience routines to return the
@@ -321,7 +321,7 @@ namespace pfasst
321321
322322 // ! @{
323323 /* *
324- * get level this iterator is currently pointing at.
324+ * Get level this iterator is currently pointing at.
325325 *
326326 * @tparam R type implementing ISweeper
327327 * @returns sweeper of type @p R this is currently pointing at
@@ -333,7 +333,7 @@ namespace pfasst
333333 }
334334
335335 /* *
336- * get the next finer level based on LevelIter::current()
336+ * Get the next finer level based on LevelIter::current()
337337 *
338338 * @tparam R type implementing ISweeper
339339 * @returns next finer sweeper with respect to current()
@@ -345,7 +345,7 @@ namespace pfasst
345345 }
346346
347347 /* *
348- * get the next coarser level based on LevelIter::current()
348+ * Get the next coarser level based on LevelIter::current()
349349 *
350350 * @tparam R type implementing ISweeper
351351 * @returns next coarser sweeper with respect to current()
@@ -357,7 +357,7 @@ namespace pfasst
357357 }
358358
359359 /* *
360- * get transfer operator for current level.
360+ * Get transfer operator for current level.
361361 *
362362 * @tparam R type implementing ITransfer
363363 * @returns transfer operator for current level
@@ -404,14 +404,14 @@ namespace pfasst
404404
405405 // ! @{
406406 /* *
407- * convenience accessor to the finest level.
407+ * Convenience accessor to the finest level.
408408 *
409409 * @returns iterator to the finest level.
410410 */
411411 virtual LevelIter finest ();
412412
413413 /* *
414- * convenience accessor to the coarsest level.
414+ * Convenience accessor to the coarsest level.
415415 *
416416 * @returns iterator to the coarsest level.
417417 */
0 commit comments