STYLE: some general spelling fixes

This commit is contained in:
Mark Olesen
2020-05-04 09:15:21 +02:00
parent 2a24bab057
commit 8cfb483054
234 changed files with 332 additions and 340 deletions

View File

@ -176,7 +176,7 @@ double inters_cy
// xc, yc Coordinates of axis of d.b.
// theta, wa, wb Angle and widths
//
// The returned parameters will be multipled by the length of the obstacle's intersection with
// The returned parameters will be multiplied by the length of the obstacle's intersection with
// the third dimension of the 3-D cell to give this obstacle's contribution to the count, drag
// and area blockages.
// The return value is the area of intersection, which will multiply to volume blockage.

View File

@ -95,7 +95,7 @@ void Foam::PDRutils::one_d_overlap
// First and last steps overlapped given by *cmin, *cmax
// Ditto for shifted grid given by *cfmin, *cfmax.
// Initially zero everwhere
// Initially zero everywhere
olap = Zero;
if (olap.size() < grid.nPoints())
@ -591,7 +591,7 @@ scalar block_cylinder_overlap
// The intersection between a circle and a rectangle can be an odd shape.
// We have its area. a_lblk and b_lblk are dimensions of enclosing rectangle
// and a_centre and b_centre its centre. We scale this rectangle down to
// the corect areacorrect area, as a rectangular approximation to the intersection.
// the correct areacorrect area, as a rectangular approximation to the intersection.
const scalar ratio = std::sqrt( area / a_lblk / b_lblk );
a_lblk *= blk1.span.x() * ratio;