Skip to content

Commit 7c0b2ef

Browse files
SerhiiSerhii
authored andcommitted
Fix Doxygen example structure
1 parent 28c2c9b commit 7c0b2ef

File tree

12 files changed

+90
-66
lines changed

12 files changed

+90
-66
lines changed

example/Numerics/2D_ActiveFluid/main.cpp

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22
// Created by Abhinav Singh on 15.03.20.
33
//
44

5+
6+
/*!
7+
* \file Two_dim_ActiveFluid/main.cpp
8+
* \page ActiveFluid Active Fluid
9+
*
10+
* \subpage Two_dim_ActiveFluid
11+
*/
12+
513
/*!
6-
* @file 2D_ActiveFluid/main.cpp
7-
* @page ActiveFluid ActiveFluid
14+
* \page Two_dim_ActiveFluid 2D Active Fluid
815
*
916
* ##A Two Dimensional Active Fluid Solver##
1017
*
@@ -41,13 +48,13 @@
4148
*/
4249

4350
/**
44-
* @page ActiveFluid ActiveFluid
51+
* \page Two_dim_ActiveFluid 2D Active Fluid
4552
*
4653
* ## Including the headers ## {#active_c1_include}
4754
*
4855
* These are the header files that we need to include:
4956
*
50-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp active1Include
57+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp active1Include
5158
*
5259
*/
5360
//! @cond [active1Include] @endcond
@@ -65,7 +72,7 @@
6572
//! @cond [active1Include] @endcond
6673

6774
/**
68-
* @page ActiveFluid ActiveFluid
75+
* \page Two_dim_ActiveFluid 2D Active Fluid
6976
*
7077
* ## Initialization of the global parameters## {#active_c_init}
7178
*
@@ -80,7 +87,7 @@
8087
* dist_vector_type as the 2d openfpm distributed vector type
8188
* dist_vector_type as the 2d openfpm distributed subset vector type
8289
*
83-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp Init1active
90+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp Init1active
8491
*
8592
*/
8693

@@ -109,7 +116,7 @@ typedef vector_dist_ws<2, double,Activegels> vector_type;
109116
typedef vector_dist_subset<2, double, Activegels> vector_type2;
110117
//! @cond [Init1active] @endcond
111118
/**
112-
* @page ActiveFluid ActiveFluid
119+
* \page Two_dim_ActiveFluid 2D Active Fluid
113120
*
114121
* ## Creating the RHS Functor## {#active_c1_rhs}
115122
*
@@ -131,7 +138,7 @@ typedef vector_dist_subset<2, double, Activegels> vector_type2;
131138
* We do our computations as required.
132139
* Then we copy back the output into the state_type dxdt)
133140
*
134-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp RHSActiveFunctor
141+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp RHSActiveFunctor
135142
*
136143
*/
137144
//! @cond [RHSActiveFunctor] @endcond
@@ -187,7 +194,7 @@ struct PolarEv
187194
//! @cond [RHSActiveFunctor] @endcond
188195

189196
/**
190-
* @page ActiveFluid ActiveFluid
197+
* \page Two_dim_ActiveFluid 2D Active Fluid
191198
*
192199
* ## Creating the Observer Functor## {#ode_c2_obs}
193200
*
@@ -230,7 +237,7 @@ struct PolarEv
230237
* We do our computations as required.
231238
* Then we copy back the output into the state_type dxdt.
232239
*
233-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp ActiveObserver2Functor
240+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp ActiveObserver2Functor
234241
*
235242
*/
236243
//! @cond [ActiveObserver2Functor] @endcond
@@ -581,14 +588,14 @@ struct CalcVelocity
581588
};
582589
//! @cond [ActiveObserver2Functor] @endcond
583590
/**
584-
* @page ActiveFluid ActiveFluid
591+
* \page Two_dim_ActiveFluid 2D Active Fluid
585592
*
586593
* ## Initializating OpenFPM ## {#Active_c2_initmain}
587594
*
588595
* We start with
589596
* * Initializing OpenFPM
590597
*
591-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp ActiveInit
598+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp ActiveInit
592599
*
593600
*/
594601
//! @cond [ActiveInit] @endcond
@@ -605,7 +612,7 @@ int main(int argc, char* argv[])
605612
V_err_eps = 5e-4;
606613
//! @cond [ActiveInit] @endcond
607614
/**
608-
* @page ActiveFluid ActiveFluid
615+
* \page Two_dim_ActiveFluid 2D Active Fluid
609616
*
610617
* ## Creating Particles and assigning subsets ## {#odeint_c2_indices}
611618
*
@@ -618,7 +625,7 @@ int main(int argc, char* argv[])
618625
* \cos \big(2\pi (\cos\left(\frac{2 x - L_x}{ L_x}\right)-\sin\left(\frac{2 y - L_y}{ L_y}\right)\big)
619626
* \end{matrix}\right)
620627
* @f]
621-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp initActSubset
628+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp initActSubset
622629
*
623630
*/
624631
//! @cond [initActSubset] @endcond
@@ -672,7 +679,7 @@ int main(int argc, char* argv[])
672679
Particles.ghost_get<POLARIZATION,EXTFORCE,DELMU>(SKIP_LABELLING);
673680
//! @cond [initActSubset] @endcond
674681
/**
675-
* @page ActiveFluid ActiveFluid
682+
* \page Two_dim_ActiveFluid 2D Active Fluid
676683
*
677684
* ## Create the subset, differential operators, steppers and Cast Global Pointers ## {#Active_c2_point}
678685
*
@@ -681,7 +688,7 @@ int main(int argc, char* argv[])
681688
*
682689
* We create DCPSE based operators and alias the particle properties.
683690
*
684-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp Pointer2Act
691+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp Pointer2Act
685692
*
686693
*/
687694
//! @cond [Pointer2Act] @endcond
@@ -749,7 +756,7 @@ int main(int argc, char* argv[])
749756
double V_err = 1, V_err_old;
750757
double tim=0;
751758
/**
752-
* @page ActiveFluid ActiveFluid
759+
* \page Two_dim_ActiveFluid 2D Active Fluid
753760
*
754761
* ## Calling Odeint ## {#odeint_actc2_1211}
755762
* We initiliaze the time variable t, step_size dt and final time tf.
@@ -766,7 +773,7 @@ int main(int argc, char* argv[])
766773
*
767774
* We finally deallocate the DCPSE operators and finalize the library.
768775
*
769-
* @snippet example/Numerics/2D_ActiveFluid/main.cpp ActintTCall
776+
* @snippet example/Numerics/Two_dim_ActiveFluid/main.cpp ActintTCall
770777
*
771778
*/
772779
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -803,9 +810,9 @@ int main(int argc, char* argv[])
803810
}
804811

805812
/**
806-
* @page ActiveFluid ActiveFluid
813+
* \page Two_dim_ActiveFluid 2D Active Fluid
807814
*
808815
* ## Full code ## {#actint_c2_full}
809816
*
810-
* @include example/Numerics/2D_ActiveFluid/main.cpp
811-
*/
817+
* @include example/Numerics/Two_dim_ActiveFluid/main.cpp
818+
*/

example/Numerics/Closest_point/0_sphere_redistancing/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ int main(int argc, char* argv[])
169169
}
170170

171171
/**
172-
* @page example_closest_point ClosestPoint Redistancing
172+
* @page example_closest_point_sphere Redistancing a sphere given as indicator function
173173
*
174174
* ## Full code ## {#e2d_c_full}
175175
*

example/Numerics/PS-CMA-ES/main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
*
33
* \page Numerics Numerics
44
* \subpage PS_CMA_ES
5-
* \subpage Vortex_in_cell_petsc
5+
* \subpage Vortex_in_cell
66
* \subpage Odeint
77
* \subpage Stokes_flow
8+
* \subpage Examples_ClosestPoint
9+
* \subpage Examples_SussmanRedistancing
810
* \subpage ActiveFluid
911
*
1012
* \page PS_CMA_ES Particle swarm CMA-ES Evolution strategy
@@ -1330,3 +1332,4 @@ int main(int argc, char* argv[])
13301332
}
13311333

13321334
#endif
1335+

example/Numerics/Vortex_in_cell/main_vic_petsc.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/**
2+
* @file Vortex_in_cell/main_vic_petsc.cpp
3+
* @page Vortex_in_cell Vortex in cell
4+
*
5+
* @subpage Vortex_in_cell_petsc
6+
* @subpage Vortex_in_cell_petsc_opt
7+
*
8+
*
9+
*/
10+
111
/*! \page Vortex_in_cell_petsc Vortex in Cell 3D
212
*
313
* # Vortex in Cell 3D ring with ringlets # {#vic_ringlets}

example/SparseGrid/10_heat_conduction_reticulate_porous_ceramics/main.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
//
44
/*!
55
*
6-
* \page 10_heat_conduction_RPC Heat conduction in reticulate porous ceramics using sparse grids on GPU
6+
* \page heat_conduction_RPC Heat conduction in reticulate porous ceramics using sparse grids on GPU
77
*
88
* [TOC]
99
*
10-
* # Solving heat conduction in the image-based geometry of reticulate porous ceramics # {#e10_heat_conduction_RPC_gpu}
10+
* # Solving heat conduction in the image-based geometry of reticulate porous ceramics # {#eheat_conduction_RPC_gpu}
1111
*
1212
* In this example, we simulate heat conduction in the solid phase of reticulate porous ceramics with heat dissipation at the surface. For the complete image-based simulation pipeline and performance of this simulation, we refer to
1313
* <a href="https://doi.org/10.1016/j.jocs.2023.102118">J. Stark, I. F. Sbalzarini "An open-source pipeline for solving continuous reaction-diffusion models in image-based geometries of porous media", Journal of Computational Science (2023).</a>

example/SparseGrid/1_gray_scott_3d_sparse/main.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
* \subpage Grid_3_gs_3D_sparse_gpu_opt
77
* \subpage Grid_3_gs_3D_sparse_cs
88
* \subpage Grid_3_gs_3D_sparse_gpu_cs
9+
* \subpage Grid_3_gs_3D_sparse_gpu_cs_opt
10+
* \subpage Grid_3_gs_3D_sparse_gpu_cs_exp
11+
* \subpage inhomogeneous_diffusion_porous_catalyst_CaCO3
12+
* \subpage heat_conduction_RPC
913
*
1014
*/
1115

@@ -15,7 +19,7 @@
1519

1620
/*!
1721
*
18-
* \page Grid_3_gs_3D_sparse Gray Scott in\subpage Grid_3_gs_3D_sparse_opt 3D using sparse grids
22+
* \page Grid_3_gs_3D_sparse Gray Scott in 3D using sparse grids on CPU
1923
*
2024
* [TOC]
2125
*
@@ -238,7 +242,7 @@ int main(int argc, char* argv[])
238242
//! \cond [time stepping] \endcond
239243

240244
/*!
241-
* \page Grid_3_gs_3D_sparse Gray Scott in 3D
245+
* \page Grid_3_gs_3D_sparse Gray Scott in 3D using sparse grids on CPU
242246
*
243247
* ## Finalize ##
244248
*
@@ -255,7 +259,7 @@ int main(int argc, char* argv[])
255259
//! \cond [finalize] \endcond
256260

257261
/*!
258-
* \page Grid_3_gs_3D_sparse Gray Scott in 3D
262+
* \page Grid_3_gs_3D_sparse Gray Scott in 3D using sparse grids on CPU
259263
*
260264
* # Full code # {#code}
261265
*

example/SparseGrid/2_gray_scott_3d_sparse_opt/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
/*!
66
*
7-
* \page Grid_3_gs_3D_sparse_opt Gray Scott in 3D using sparse grids optimized on CPU
7+
* \page Grid_3_gs_3D_sparse_opt Gray Scott in 3D using sparse grids on CPU (Optimized)
88
*
99
* [TOC]
1010
*
11-
* # Solving a gray scott-system in 3D using sparse grids optimized on CPU # {#e3_gs_gray_scott_opt}
11+
* # Solving a gray scott-system in 3D using sparse grids on CPU (Optimized) # {#e3_gs_gray_scott_opt}
1212
*
1313
* This example show how to solve a Gray-Scott system in 3D using sparse grids in an optimized way
1414
*
@@ -257,7 +257,7 @@ int main(int argc, char* argv[])
257257
//! \cond [time stepping] \endcond
258258

259259
/*!
260-
* \page Grid_3_gs_3D_sparse_opt Gray Scott in 3D using sparse grids optimized on CPU
260+
* \page Grid_3_gs_3D_sparse_opt Gray Scott in 3D using sparse grids on CPU (Optimized)
261261
*
262262
* ## Finalize ##
263263
*
@@ -274,7 +274,7 @@ int main(int argc, char* argv[])
274274
//! \cond [finalize] \endcond
275275

276276
/*!
277-
* \page Grid_3_gs_3D_sparse_opt Gray Scott in 3D using sparse grids optimized on CPU
277+
* \page Grid_3_gs_3D_sparse_opt Gray Scott in 3D using sparse grids on CPU (Optimized)
278278
*
279279
* # Full code # {#code}
280280
*

example/SparseGrid/3_gray_scott_3d_sparse_gpu_cs/main.cu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/*!
66
*
7-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
7+
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on GPU in complex geometry
88
*
99
* [TOC]
1010
*
@@ -356,7 +356,7 @@ int main(int argc, char* argv[])
356356
//! \cond [time stepping] \endcond
357357

358358
/*!
359-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
359+
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on GPU in complex geometry
360360
*
361361
* ## Finalize ##
362362
*
@@ -373,7 +373,7 @@ int main(int argc, char* argv[])
373373
//! \cond [finalize] \endcond
374374

375375
/*!
376-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
376+
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on GPU in complex geometry
377377
*
378378
* # Full code # {#code}
379379
*

example/SparseGrid/3_gray_scott_3d_sparse_gpu_cs_opt/main.cu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/*!
99
*
10-
* \page Grid_3_gs_3D_sparse_gpu_cs_opt Gray Scott in 3D using sparse grids on gpu in complex geometry
10+
* \page Grid_3_gs_3D_sparse_gpu_cs_opt Gray Scott in 3D using sparse grids on GPU in complex geometry (Optimized)
1111
*
1212
* [TOC]
1313
*
@@ -507,7 +507,7 @@ int main(int argc, char* argv[])
507507
//! \cond [time stepping] \endcond
508508

509509
/*!
510-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
510+
* \page Grid_3_gs_3D_sparse_gpu_cs_opt Gray Scott in 3D using sparse grids on GPU in complex geometry (Optimized)
511511
*
512512
* ## Finalize ##
513513
*
@@ -524,7 +524,7 @@ int main(int argc, char* argv[])
524524
//! \cond [finalize] \endcond
525525

526526
/*!
527-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
527+
* \page Grid_3_gs_3D_sparse_gpu_cs_opt Gray Scott in 3D using sparse grids on GPU in complex geometry (Optimized)
528528
*
529529
* # Full code # {#code}
530530
*

example/SparseGrid/7_gray_scott_3d_sparse_gpu_sphere_expanding/main.cu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/*!
88
*
9-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
9+
* \page Grid_3_gs_3D_sparse_gpu_cs_exp Gray Scott in 3D using sparse grids on GPU in expanding complex geometry
1010
*
1111
* [TOC]
1212
*
@@ -247,7 +247,7 @@ int main(int argc, char* argv[])
247247
//! \cond [time stepping] \endcond
248248

249249
/*!
250-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
250+
* \page Grid_3_gs_3D_sparse_gpu_cs_exp Gray Scott in 3D using sparse grids on GPU in expanding complex geometry
251251
*
252252
* ## Finalize ##
253253
*
@@ -264,7 +264,7 @@ int main(int argc, char* argv[])
264264
//! \cond [finalize] \endcond
265265

266266
/*!
267-
* \page Grid_3_gs_3D_sparse_gpu_cs Gray Scott in 3D using sparse grids on gpu in complex geometry
267+
* \page Grid_3_gs_3D_sparse_gpu_cs_exp Gray Scott in 3D using sparse grids on GPU in expanding complex geometry
268268
*
269269
* # Full code # {#code}
270270
*

0 commit comments

Comments
 (0)