Skip to content

Commit 5dc1d96

Browse files
authored
Fix various Doxygen issues (#4633)
* Fix code format in Doxygen. * Prefer \code to \verbatim because of syntax highlighting. * Fix some warnings. * Update doxygen.conf. * Use the new log. * Fail CI if there Doxygen warnings.
1 parent 8014ff4 commit 5dc1d96

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1380
-971
lines changed

Docs/Doxygen/amrex_logo_tiny.png

7.85 KB
Loading

Docs/Doxygen/doxygen.conf

Lines changed: 706 additions & 313 deletions
Large diffs are not rendered by default.

Docs/Doxygen/resize_AMReX_logo.png

-23.9 KB
Binary file not shown.

Src/Amr/AMReX_Derive.H

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ public:
396396
* \param result_type
397397
* \param nvar_derive
398398
* \param der_func
399-
* \param box_map
399+
* \param bx_map
400400
* \param interp
401401
*/
402402
void add (const std::string& name,
@@ -444,11 +444,11 @@ public:
444444
* \brief Adds another entry to the registry.
445445
*
446446
* \param name
447-
* \param result_type
447+
* \param res_typ
448448
* \param nvar_derive
449-
* \param var_names
449+
* \param vars
450450
* \param der_func
451-
* \param box_map
451+
* \param bx_map
452452
* \param interp
453453
*/
454454
void add (const std::string& name,
@@ -489,8 +489,8 @@ public:
489489
* \param name
490490
* \param d_list
491491
* \param state_indx
492-
* \param start_comp
493-
* \param ncomp
492+
* \param s_comp
493+
* \param n_comp
494494
*/
495495
void addComponent (const std::string& name,
496496
const DescriptorList& d_list,

Src/Amr/AMReX_StateData.H

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public:
163163
/**
164164
* \brief Sets time of old and new data.
165165
*
166-
* \param t_new
166+
* \param time
167167
* \param dt_old
168168
* \param dt_new
169169
*/
@@ -173,15 +173,11 @@ public:
173173

174174
/**
175175
* \brief Sets time of old data.
176-
*
177-
* \param t_old
178176
*/
179177
void setOldTimeLevel (Real time);
180178

181179
/**
182180
* \brief Sets time of new data.
183-
*
184-
* \param t_new
185181
*/
186182
void setNewTimeLevel (Real time);
187183

@@ -261,9 +257,9 @@ public:
261257
* \param p_domain
262258
* \param grds
263259
* \param dm
264-
* \param factroy
260+
* \param factory
265261
* \param d
266-
* \param restart_file
262+
* \param chkfile
267263
*/
268264
void restart (std::istream& is,
269265
const Box& p_domain,

Src/Amr/AMReX_StateDescriptor.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public:
206206
* \param bc
207207
* \param func
208208
* \param interp
209-
* \param primary_or_secondary
209+
* \param a_primary
210210
* \param groupsize
211211
*/
212212
void setComponent (int comp,

Src/AmrCore/AMReX_ErrorList.H

Lines changed: 2 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,6 @@ extern "C"
2222

2323
/**
2424
* \brief Type of extern "C" function called by ErrorRec to do tagging of cells for refinement.
25-
*
26-
* \param tag
27-
* \param tlo
28-
* \param thi
29-
* \param tagval
30-
* \param clearval
31-
* \param data
32-
* \param data_lo
33-
* \param data_hi
34-
* \param lo
35-
* \param hi
36-
* \param nvar
37-
* \param domain_lo
38-
* \param domain_hi
39-
* \param dx
40-
* \param xlo
41-
* \param prob_lo
42-
* \param time
43-
* \param level
4425
*/
4526
using ErrorFuncDefault = void (*)(int* tag, AMREX_ARLIM_P(tlo), AMREX_ARLIM_P(thi),
4627
const int* tagval, const int* clearval,
@@ -156,25 +137,6 @@ public:
156137

157138
/**
158139
* \brief Tag cells using "regular" function.
159-
*
160-
* \param tag
161-
* \param tlo
162-
* \param thi
163-
* \param tagval
164-
* \param clearval
165-
* \param data
166-
* \param data_lo
167-
* \param data_hi
168-
* \param lo
169-
* \param hi
170-
* \param nvar
171-
* \param domain_lo
172-
* \param domain_hi
173-
* \param dx
174-
* \param xlo
175-
* \param prob_lo
176-
* \param time
177-
* \param level
178140
*/
179141
virtual void operator () (int* tag, AMREX_ARLIM_P(tlo), AMREX_ARLIM_P(thi),
180142
const int* tagval, const int* clearval,
@@ -194,8 +156,8 @@ public:
194156
* \param tagval
195157
* \param clearval
196158
* \param data
197-
* \param data_lo
198-
* \param data_hi
159+
* \param dlo
160+
* \param dhi
199161
* \param lo
200162
* \param hi
201163
* \param nvar
@@ -255,23 +217,6 @@ public:
255217

256218
/**
257219
* \brief Tag cells cells using "v2" interface
258-
*
259-
* \param tag
260-
* \param tlo
261-
* \param thi
262-
* \param tagval
263-
* \param clearval
264-
* \param data
265-
* \param data_lo
266-
* \param data_hi
267-
* \param lo
268-
* \param hi
269-
* \param nvar
270-
* \param domain_lo
271-
* \param domain_hi
272-
* \param dx
273-
* \param level
274-
* \param avg
275220
*/
276221
virtual void operator () (int* tag, AMREX_ARLIM_P(tlo), AMREX_ARLIM_P(thi),
277222
const int* tagval, const int* clearval,

Src/AmrCore/AMReX_FillPatcher.H

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ public:
105105
* \param nghost number of ghost cells to fill. This must be <= what's
106106
* provided to the constructor
107107
* \param time time associated with the destination
108-
* \param crse_data coarse level data
109-
* \param crse_time time associated with the coarse data
110-
* \param fine_data fine level data
111-
* \param fine_time time associated with the fine data
108+
* \param cmf coarse level data
109+
* \param ct time associated with the coarse data
110+
* \param fmf fine level data
111+
* \param ft time associated with the fine data
112112
* \param scomp starting component of the source
113113
* \param dcomp starting component of the destination
114114
* \param ncomp the number of components to fill
@@ -140,8 +140,8 @@ public:
140140
* \param nghost number of ghost cells to fill. This must be <= what's
141141
* provided to the constructor
142142
* \param time time associated with the destination
143-
* \param crse_data coarse level data
144-
* \param crse_time time associated with the coarse data
143+
* \param cmf coarse level data
144+
* \param ct time associated with the coarse data
145145
* \param scomp starting component of the source
146146
* \param dcomp starting component of the destination
147147
* \param ncomp the number of components to fill
@@ -187,6 +187,8 @@ public:
187187
* denoting the first and second substep, respectively.
188188
* \param ncycle number of subcyling steps. It's usually 2 or 4.
189189
* Without subcycling, this will be 1.
190+
* \param mf destination MF
191+
* \param time time associated with the coarse data
190192
* \param cbc filling physical boundary on coarse level
191193
* \param fbc filling physical boundary on fine level
192194
* \param bcs physical BC types

Src/AmrCore/AMReX_FluxReg_1D_C.H

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#define AMREX_FLUXREG_1D_C_H_
33
#include <AMReX_Config.H>
44

5+
#if (AMREX_SPACEDIM == 1)
6+
57
#include <AMReX_FArrayBox.H>
68

79
namespace amrex {
@@ -91,3 +93,5 @@ fluxreg_reflux (Box const& bx, Array4<Real> const& s, const int scomp,
9193
}
9294

9395
#endif
96+
97+
#endif

Src/AmrCore/AMReX_FluxReg_2D_C.H

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#define AMREX_FLUXREG_2D_C_H_
33
#include <AMReX_Config.H>
44

5+
#if (AMREX_SPACEDIM == 2)
6+
57
#include <AMReX_FArrayBox.H>
68

79
namespace amrex {
@@ -171,3 +173,5 @@ fluxreg_reflux (Box const& bx, Array4<Real> const& s, const int scomp,
171173
}
172174

173175
#endif
176+
177+
#endif

0 commit comments

Comments
 (0)