diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2016-07-09 11:12:02 +0200 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2019-10-19 19:20:44 +0200 |
commit | afe6b7a9fd81fe185c13cf9425b7f63933281b01 (patch) | |
tree | 00abf9ce8477a5dbcefb884bb4fb14c34bc380b8 /openEMS/FDTD/operator.cpp | |
parent | 584c8f23e595e0d2cbef826c1569f56361b83654 (diff) |
Spelling fixes
Gbp-Pq: Name 0002-Spelling-fixes.patch
Diffstat (limited to 'openEMS/FDTD/operator.cpp')
-rw-r--r-- | openEMS/FDTD/operator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openEMS/FDTD/operator.cpp b/openEMS/FDTD/operator.cpp index 259b1fb..54d4aad 100644 --- a/openEMS/FDTD/operator.cpp +++ b/openEMS/FDTD/operator.cpp @@ -450,7 +450,7 @@ Grid_Path Operator::FindPath(double start[], double stop[]) currPos[minDir]+=-1; minPos[minDir]-=1; } - //check validity of current postion + //check validity of current position for (int n=0;n<3;++n) if (currPos[n]>=numLines[n]) { @@ -1397,7 +1397,7 @@ bool Operator::AverageMatCellCenter(int ny, const unsigned int* pos, double* Eff for (int n=0; n<4; ++n) if (std::isnan(EffMat[n]) || std::isinf(EffMat[n])) { - cerr << "Operator::" << __func__ << ": Error, an effective material parameter is not a valid result, this should NOT have happend... exit..." << endl; + cerr << "Operator::" << __func__ << ": Error, an effective material parameter is not a valid result, this should NOT have happened... exit..." << endl; cerr << ny << "@" << n << " : " << pos[0] << "," << pos[1] << "," << pos[2] << endl; exit(0); } @@ -1510,7 +1510,7 @@ bool Operator::AverageMatQuarterCell(int ny, const unsigned int* pos, double* Ef for (int n=0; n<4; ++n) if (std::isnan(EffMat[n]) || std::isinf(EffMat[n])) { - cerr << "Operator::" << __func__ << ": Error, An effective material parameter is not a valid result, this should NOT have happend... exit..." << endl; + cerr << "Operator::" << __func__ << ": Error, An effective material parameter is not a valid result, this should NOT have happened... exit..." << endl; cerr << ny << "@" << n << " : " << pos[0] << "," << pos[1] << "," << pos[2] << endl; exit(0); } |