Skip to content

Commit 7aac145

Browse files
committed
Flux register
1 parent 23cae08 commit 7aac145

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

Src/AmrCore/AMReX_FluxReg_1D_C.H

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ namespace amrex {
1010
/**
1111
* \brief Add fine grid flux to flux register.
1212
*
13-
* Flux array is a fine grid edge based object, and
14-
* Register is a coarse grid edge based object.
15-
* It is assumed that the coarsened flux region contains the register
16-
* region.
17-
*
13+
* Flux array is a fine grid edge based object, Register is a coarse grid edge based object.
14+
* It is assumed that the coarsened flux region contains the register region.
1815
*/
1916
AMREX_GPU_HOST_DEVICE inline void
2017
fluxreg_fineadd (Box const& bx, Array4<Real> const& reg, const int rcomp,
@@ -32,10 +29,9 @@ fluxreg_fineadd (Box const& bx, Array4<Real> const& reg, const int rcomp,
3229

3330
/**
3431
* \brief Add fine grid flux times area to flux register.
35-
* Flux array is a fine grid
36-
* edge based object, Register is a coarse grid edge based object.
37-
* It is assumed that the coarsened flux region contains the register
38-
* region.
32+
*
33+
* Flux array is a fine grid edge based object, Register is a coarse grid edge based object.
34+
* It is assumed that the coarsened flux region contains the register region.
3935
*/
4036
AMREX_GPU_HOST_DEVICE inline void
4137
fluxreg_fineareaadd (Box const& bx, Array4<Real> const& reg, const int rcomp,

Src/AmrCore/AMReX_FluxReg_2D_C.H

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ namespace amrex {
1010
/**
1111
* \brief Add fine grid flux to flux register.
1212
*
13-
* Flux array is a fine grid
14-
* edge based object, Register is a coarse grid edge based object.
15-
* It is assumed that the coarsened flux region contains the register
16-
* region.
13+
* Flux array is a fine grid edge based object, Register is a coarse grid edge based object.
14+
* It is assumed that the coarsened flux region contains the register region.
1715
*
1816
*/
1917
AMREX_GPU_HOST_DEVICE inline void
@@ -57,22 +55,11 @@ fluxreg_fineadd (Box const& bx, Array4<Real> const& reg, const int rcomp,
5755

5856

5957
/**
60-
* \brief Add fine grid flux times area to flux register. Flux array is a fine grid
61-
* edge based object, Register is a coarse grid edge based object.
62-
* It is assumed that the coarsened flux region contains the register
63-
* region.
64-
*
65-
* \param bx
66-
* \param reg
67-
* \param rcomp
68-
* \param area
69-
* \param flx
70-
* \param fcomp
71-
* \param ncomp
72-
* \param dir
73-
* \param ratio
74-
* \param mult
75-
*/
58+
* \brief Add fine grid flux times area to flux register.
59+
*
60+
* Flux array is a fine grid edge based object, Register is a coarse grid edge based object.
61+
* It is assumed that the coarsened flux region contains the register region.
62+
*/
7663
AMREX_GPU_HOST_DEVICE inline void
7764
fluxreg_fineareaadd (Box const& bx, Array4<Real> const& reg, const int rcomp,
7865
Array4<Real const> const& area,

0 commit comments

Comments
 (0)