Skip to content

Commit ae902cd

Browse files
authored
Capitalize various FORD comments (dftbplus#1583)
1 parent a6bddfe commit ae902cd

Some content is hidden

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

44 files changed

+836
-836
lines changed

src/dftbp/dftb/blockpothelper.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ module dftbp_dftb_blockpothelper
2121
!> Adds block (dual) charges onto end of a 1D vector of reduced charges
2222
subroutine appendBlockReduced(input, equiv, orb, output, isSkew)
2323

24-
!> unpacked data
24+
!> Unpacked data
2525
real(dp), intent(in) :: input(:,:,:,:)
2626

27-
!> equivalences
27+
!> Equivalences
2828
integer, intent(in) :: equiv(:,:,:,:)
2929

3030
!> Information about the orbitals and their angular momenta
@@ -33,7 +33,7 @@ subroutine appendBlockReduced(input, equiv, orb, output, isSkew)
3333
!> 1D array with appended data
3434
real(dp), intent(inout) :: output(:)
3535

36-
!> is skew symmetry required
36+
!> Is skew symmetry required
3737
logical, optional, intent(in) :: isSkew
3838

3939
integer :: nAtom, nSpin

src/dftbp/dftb/bondpopulations.F90

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ module dftbp_dftb_bondpopulations
2424
subroutine addPairWiseBondInfo(info, rhoPrim, sparseMat, iSquare, iNeighbour, nNeighbourSK,&
2525
& img2CentCell, iSparseStart)
2626

27-
!> pairwise contribution
27+
!> Pairwise contribution
2828
real(dp), allocatable, intent(inout) :: info(:,:)
2929

30-
!> sparse density matrix (only spin-unpolarized)
30+
!> Sparse density matrix (only spin-unpolarized)
3131
real(dp), intent(in) :: rhoPrim(:)
3232

33-
!> non-scc hamiltonian or overlap matrix in sparse format
33+
!> Non-scc hamiltonian or overlap matrix in sparse format
3434
real(dp), intent(in) :: sparseMat(:)
3535

3636
!> Index array for start of atomic block in dense matrices
@@ -42,10 +42,10 @@ subroutine addPairWiseBondInfo(info, rhoPrim, sparseMat, iSquare, iNeighbour, nN
4242
!> Number of neighbours for each of the atoms
4343
integer, intent(in) :: nNeighbourSK(:)
4444

45-
!> image atoms to their equivalent in the central cell
45+
!> Image atoms to their equivalent in the central cell
4646
integer, intent(in) :: img2CentCell(:)
4747

48-
!> index array for location of atomic blocks in large sparse arrays
48+
!> Index array for location of atomic blocks in large sparse arrays
4949
integer, intent(in) :: iSparseStart(0:,:)
5050

5151
integer :: iAt1, iAt2, iAt2f, nOrb1, nOrb2, iOrig, iNeigh, iOrb1, iOrb2

src/dftbp/dftb/boundarycond.F90

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ end subroutine TBoundaryConditions_init
9595

9696
#:for TYPE, LABEL in FLAVOURS
9797

98-
!> convert matrix elements from image to central cell atoms
98+
!> Convert matrix elements from image to central cell atoms
9999
pure subroutine foldInDiatomicBlock_${LABEL}$(this, sqrBlock, iAt1, iAt2, coords, species,&
100100
& img2CentCell, orb)
101101

@@ -120,7 +120,7 @@ pure subroutine foldInDiatomicBlock_${LABEL}$(this, sqrBlock, iAt1, iAt2, coords
120120
!> Map from images of atoms to central cell atoms
121121
integer, intent(in) :: img2CentCell(:)
122122

123-
!> data type for atomic orbital information
123+
!> Data type for atomic orbital information
124124
type(TOrbitals), intent(in) :: orb
125125

126126
integer :: iAt2f, iSp, iSh, nOrb1, nOrb2, lShellVals(orb%mShell)
@@ -155,7 +155,7 @@ pure subroutine foldInDiatomicBlock_${LABEL}$(this, sqrBlock, iAt1, iAt2, coords
155155
end subroutine foldInDiatomicBlock_${LABEL}$
156156

157157

158-
!> convert matrix elements from central cell to image atoms
158+
!> Convert matrix elements from central cell to image atoms
159159
pure subroutine foldOutDiatomicBlock_${LABEL}$(this, sqrBlock, iAt1, iAt2, coords, species,&
160160
& img2CentCell, orb)
161161

@@ -180,7 +180,7 @@ pure subroutine foldOutDiatomicBlock_${LABEL}$(this, sqrBlock, iAt1, iAt2, coord
180180
!> Map from images of atoms to central cell atoms
181181
integer, intent(in) :: img2CentCell(:)
182182

183-
!> data type for atomic orbital information
183+
!> Data type for atomic orbital information
184184
type(TOrbitals), intent(in) :: orb
185185

186186
integer :: iAt2f, iSp, iSh, nOrb1, nOrb2, lShellVals(orb%mShell)
@@ -223,7 +223,7 @@ subroutine alignVectorCentralCell(this, vectors, coords, coords0, nAtom)
223223
!> Instance
224224
class(TBoundaryConditions), intent(in) :: this
225225

226-
!> vectors to transform
226+
!> Vectors to transform
227227
real(dp), intent(inout) :: vectors(:,:)
228228

229229
!> Coordinates in central/objective cell

src/dftbp/dftb/chargeconstr.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ subroutine TChrgConstr_init(this, inp, kappa)
6161
!> Array containing reference charges and prefactors (nAtom, 2)
6262
real(dp), intent(in) :: inp(:,:)
6363

64-
!> exponent of the local potential to add
64+
!> Exponent of the local potential to add
6565
integer, intent(in) :: kappa
6666

6767
@:ASSERT(.not. this%tInit_)
@@ -80,7 +80,7 @@ subroutine TChrgConstr_init(this, inp, kappa)
8080
end subroutine TChrgConstr_init
8181

8282

83-
!> build the shift (potential)
83+
!> Build the shift (potential)
8484
subroutine buildShift(this, chargesPerAtom)
8585

8686
!> Instance of a constraint

src/dftbp/dftb/charges.F90

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ subroutine getSummedCharges(species, orb, qOrbital, q0, dQ, dQAtom, dQShell)
7373
end subroutine getSummedCharges
7474

7575

76-
!> orbital resolved charges
76+
!> Orbital resolved charges
7777
pure subroutine getSummedChargesPerOrbital(qOrbital, q0, deltaQ)
7878

79-
!> charges per orbital
79+
!> Charges per orbital
8080
real(dp), intent(in) :: qOrbital(:,:)
8181

82-
!> reference atomic charges
82+
!> Reference atomic charges
8383
real(dp), intent(in) :: q0(:,:)
8484

8585
!> Summed charges (q - q0)
@@ -90,33 +90,33 @@ pure subroutine getSummedChargesPerOrbital(qOrbital, q0, deltaQ)
9090
end subroutine getSummedChargesPerOrbital
9191

9292

93-
!> atom resolved charges
93+
!> Atom resolved charges
9494
subroutine getSummedChargesPerAtom(deltaQ, deltaQAtom)
9595

96-
!> gross charge for all atomic orbitals on atoms
96+
!> Gross charge for all atomic orbitals on atoms
9797
real(dp), intent(in) :: deltaQ(:,:)
9898

99-
!> gross charge for each atom
99+
!> Gross charge for each atom
100100
real(dp), intent(out) :: deltaQAtom(:)
101101

102102
deltaQAtom(:) = sum(deltaQ, dim=1)
103103

104104
end subroutine getSummedChargesPerAtom
105105

106106

107-
!> shell resolved charges
107+
!> Shell resolved charges
108108
subroutine getSummedChargesPerLShell(species, orb, deltaQ, deltaQPerLShell)
109109

110-
!> chemical species of each atom
110+
!> Chemical species of each atom
111111
integer, intent(in) :: species(:)
112112

113-
!> species resolved atomic orbital information
113+
!> Species resolved atomic orbital information
114114
type(TOrbitals), intent(in) :: orb
115115

116-
!> gross charge for each orbital
116+
!> Gross charge for each orbital
117117
real(dp), intent(in) :: deltaQ(:,:)
118118

119-
!> gross charge for each atomic shell
119+
!> Gross charge for each atomic shell
120120
real(dp), intent(out) :: deltaQPerLShell(:,:)
121121

122122
integer :: iAt, iSp, iSh, iStart, iEnd
@@ -134,22 +134,22 @@ subroutine getSummedChargesPerLShell(species, orb, deltaQ, deltaQPerLShell)
134134
end subroutine getSummedChargesPerLShell
135135

136136

137-
!> charges for regions with common U values
137+
!> Charges for regions with common U values
138138
subroutine getSummedChargesPerUniqueU(species, orb, hubbU, deltaQPerLShell, deltaQUniqU)
139139

140-
!> chemical species of each atom
140+
!> Chemical species of each atom
141141
integer, intent(in) :: species(:)
142142

143-
!> species resolved atomic orbital information
143+
!> Species resolved atomic orbital information
144144
type(TOrbitals), intent(in) :: orb
145145

146146
!> Contracted Hubbard U parameters
147147
type(TUniqueHubbard), intent(in) :: hubbU
148148

149-
!> charge per atomic shell
149+
!> Charge per atomic shell
150150
real(dp), intent(in) :: deltaQPerLShell(:,:)
151151

152-
!> charges for atomic shells with a common U value
152+
!> Charges for atomic shells with a common U value
153153
real(dp), intent(out) :: deltaQUniqU(:,:)
154154

155155
call hubbU%sumOverUniqueU(deltaQPerLShell, species, orb, deltaQUniqU)

0 commit comments

Comments
 (0)