Skip to content

Commit c81f2d9

Browse files
committed
Merge pull request #192 from asartori86/split
Split pidomus.cc in several files + fixed doxygen
2 parents 796db71 + e7258a4 commit c81f2d9

11 files changed

+1393
-1215
lines changed

Doxyfile.in

Lines changed: 292 additions & 165 deletions
Large diffs are not rendered by default.

include/base_interface.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class BaseInterface : public ParameterAcceptor, public SimulatorAccess<dim,space
109109
* must be called inside the constructor of the derived class.
110110
*/
111111
void init ();
112+
/** @} */
112113

113114
/**
114115
* Override this function in your derived interface in order to
@@ -221,10 +222,10 @@ class BaseInterface : public ParameterAcceptor, public SimulatorAccess<dim,space
221222
* in the case the problem does not converge using @p prec_op .
222223
*
223224
* To clarify the difference between @p prec_op and @p prec_op_finer
224-
* consider the case where you have a matrix @var A and you want to
225+
* consider the case where you have a matrix A and you want to
225226
* provide an 'inverse' using AMG. A possible strategy consist in
226227
* using the linear operator associated to AMG and a further
227-
* strategy is to invert @var A using AMG. In detail, @p prec_op
228+
* strategy is to invert A using AMG. In detail, @p prec_op
228229
* should be
229230
* \code{.cpp}
230231
* auto A_inv = linear_operator(A, AMG)
@@ -234,12 +235,12 @@ class BaseInterface : public ParameterAcceptor, public SimulatorAccess<dim,space
234235
* auto A_inv = inverse_operator(A, solver, AMG)
235236
* \endcode
236237
*
237-
* In the @var .prm file it is possible to specify the maximum
238+
* In the .prm file it is possible to specify the maximum
238239
* number of iterations allowed for the solver in the case we are
239240
* using @p prec_op or @p prec_op_finer.
240241
*
241242
* To enable the finer preconditioner it is sufficient to set
242-
* "Enable finer preconditioner" equals to @var true.
243+
* "Enable finer preconditioner" equals to true.
243244
*/
244245
virtual void compute_system_operators(const std::vector<shared_ptr<typename LATrilinos::BlockMatrix> >,
245246
LinearOperator<LATrilinos::VectorType> &system_op,
@@ -402,6 +403,7 @@ class BaseInterface : public ParameterAcceptor, public SimulatorAccess<dim,space
402403
* couplings[0] = "1,1;1,0"; // first block is the velocity, the second is the pressure
403404
* couplings[1] = "1,0;0,1";
404405
* }
406+
* @endcode
405407
*/
406408
virtual void set_matrix_couplings(std::vector<std::string> &couplings) const;
407409

include/pidomus.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
// #include <deal.II/lac/precondition.h>
3232

33-
#include "copy_data.h"
33+
3434
#include "base_interface.h"
3535
#include "simulator_access.h"
3636
#include "pidomus_signals.h"
@@ -409,11 +409,6 @@ class piDoMUS : public ParameterAcceptor, public SundialsInterface<typename LAC:
409409
*/
410410
double second_to_last_dt;
411411

412-
413-
/**
414-
* Show timer statistics
415-
*/
416-
bool output_timer;
417412
/**
418413
* Teucos timer file
419414
*/

include/simulator_access.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class SimulatorAccess
9393

9494
/**
9595
* Return the current alpha in the expression
96-
* $\dot{y}=\alpha y + \beta \bar{y}$
96+
* \f$\dot{y}=\alpha y + \beta \bar{y}\f$
9797
*/
9898
double get_alpha () const;
9999

@@ -190,6 +190,7 @@ class SimulatorAccess
190190
/** @} */
191191

192192
private:
193+
193194
/**
194195
* A pointer to the simulator object to which we want to get
195196
* access.

0 commit comments

Comments
 (0)