Skip to content

Commit

Permalink
CLN: typo corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Günther committed Jul 19, 2023
1 parent b48632d commit ce4b28d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/meshMerge
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main(argv):
parser.add_argument("--debug", dest="debug", action="store_true",
help="debug mode")
parser.add_argument('meshes', type=str, nargs='+',
help='Files to be merge. If there are more then 2 files, '
help='Files to be merge. If there are more than 2 files, '
' e.g., called with wildcard (*.vtk), the file matches '
'the outFileName will be excluded.')
parser.add_argument("-o", dest="outFileName", type=str,
Expand Down
4 changes: 2 additions & 2 deletions core/src/meshentities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Boundary * findBoundary_(const std::set < Boundary *> & common){
} else {
if (common.size() > 1){
std::cerr << WHERE_AM_I << " pls. check, this should not happen. "
" There is more then one boundary defined." <<
" There is more than one boundary defined." <<
common.size() << std::endl;
std::for_each(common.begin(), common.end(), cerrPtrObject());
}
Expand Down Expand Up @@ -112,7 +112,7 @@ Cell * findCommonCell(const std::vector < Node * > & n, bool warn) {
if (warn){
for (uint i = 0; i < n.size(); i ++) std::cout << n[i]->id()<< " " ;
std::cout <<std::endl;
std::cerr << WHERE_AM_I << " pls. check, this should not happen. there is more then one cell defined for the given nodes." <<
std::cerr << WHERE_AM_I << " pls. check, this should not happen. there is more than one cell defined for the given nodes." <<
common.size() << std::endl;
}
return *common.begin();
Expand Down
4 changes: 2 additions & 2 deletions pygimli/physics/em/vmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ def calcEPhiF(self, f, rho, d, rmin=1, nr=41, ze=0, zs=0, tm=1):

if nr > 1:
aux3[n] = aux3[n] / rr[n]
raise Exception("more then one r .. check code here")
raise Exception("more than one r .. check code here")
else:
aux3[n] = aux3[n] / rr

if ze <= 0:
# Air
ePhi = ePhi - aux3
else:
raise Exception("more then one r .. check code here")
raise Exception("more than one r .. check code here")
# Halfspace
ePhi = aux3

Expand Down

0 comments on commit ce4b28d

Please sign in to comment.