diff options
Diffstat (limited to 'openEMS/tools')
-rw-r--r-- | openEMS/tools/AdrOp.cpp | 22 | ||||
-rw-r--r-- | openEMS/tools/ErrorMsg.cpp | 10 | ||||
-rw-r--r-- | openEMS/tools/ExpenseLog.h | 2 | ||||
-rw-r--r-- | openEMS/tools/useful.cpp | 2 | ||||
-rw-r--r-- | openEMS/tools/vtk_file_writer.cpp | 4 |
5 files changed, 20 insertions, 20 deletions
diff --git a/openEMS/tools/AdrOp.cpp b/openEMS/tools/AdrOp.cpp index 228f8de..23a7e87 100644 --- a/openEMS/tools/AdrOp.cpp +++ b/openEMS/tools/AdrOp.cpp @@ -28,15 +28,15 @@ AdrOp::AdrOp(unsigned int muiImax, unsigned int muiJmax, unsigned int muiKmax, u fprintf(stderr,"Memory allocation failed!! exiting...");
exit(1);
}
- error->SetMsg(1,"Adress Operator: Memory allocation failed!! exiting...");
- error->SetMsg(2,"Adress Operator: Invalid Adress requested!! exiting...");
- error->SetMsg(3,"Adress Operator: Invalid Position set!! exiting...");
- error->SetMsg(4,"Adress Operator: Invalid jump or passing end of iteration!! exiting...");
- error->SetMsg(5,"Adress Operator: 4D not yet implemented!! exiting...");
- error->SetMsg(6,"Adress Operator: Position not set!! exiting...");
- error->SetMsg(7,"Adress Operator: Cells not added to Adress Operator!! exiting...");
- error->SetMsg(8,"Adress Operator: Invalid Node!! exiting...");
- error->SetMsg(9,"Adress Operator: Grid invalid!! exiting...");
+ error->SetMsg(1,"Address Operator: Memory allocation failed!! exiting...");
+ error->SetMsg(2,"Address Operator: Invalid Address requested!! exiting...");
+ error->SetMsg(3,"Address Operator: Invalid Position set!! exiting...");
+ error->SetMsg(4,"Address Operator: Invalid jump or passing end of iteration!! exiting...");
+ error->SetMsg(5,"Address Operator: 4D not yet implemented!! exiting...");
+ error->SetMsg(6,"Address Operator: Position not set!! exiting...");
+ error->SetMsg(7,"Address Operator: Cells not added to Address Operator!! exiting...");
+ error->SetMsg(8,"Address Operator: Invalid Node!! exiting...");
+ error->SetMsg(9,"Address Operator: Grid invalid!! exiting...");
//if (muiImax<0) muiImax=0;
//if (muiJmax<0) muiJmax=0;
@@ -50,7 +50,7 @@ AdrOp::AdrOp(unsigned int muiImax, unsigned int muiJmax, unsigned int muiKmax, u else exit(-2);
if (muiKmax>0) uiDimension++;
if ( (muiLmax>0) && (muiKmax>0) ) uiDimension++;
-// cout << "\n-----Adress Operator created: Dimension: " << uiDimension << "----" <<endl;
+// cout << "\n-----Address Operator created: Dimension: " << uiDimension << "----" <<endl;
uiImax=muiImax;
uiJmax=muiJmax;
uiKmax=muiKmax;
@@ -109,7 +109,7 @@ AdrOp::AdrOp(AdrOp* origOP) AdrOp::~AdrOp()
{
-// cerr << "\n------Adress Operator deconstructed-----\n" << endl;
+// cerr << "\n------Address Operator deconstructed-----\n" << endl;
delete error;
error=NULL;
delete clCellAdr;
diff --git a/openEMS/tools/ErrorMsg.cpp b/openEMS/tools/ErrorMsg.cpp index 9a1974c..ff01d49 100644 --- a/openEMS/tools/ErrorMsg.cpp +++ b/openEMS/tools/ErrorMsg.cpp @@ -60,14 +60,14 @@ void ErrorMsg::Error(unsigned int nr,char *chAddMsg) if ((nr>0) && (nr<=NoMsg)) { if (Msg[nr-1]!=NULL) fprintf(stderr,"%s",Msg[nr-1]); - else fprintf(stderr,"unkown error occured!! Error code: %d exiting...",nr); + else fprintf(stderr,"unknown error occurred!! Error code: %d exiting...",nr); if (chAddMsg!=NULL) fprintf(stderr,"%s",chAddMsg); getchar(); exit(nr); } else { - fprintf(stderr,"unkown error occured!! Error code: %d exiting...",nr); + fprintf(stderr,"unknown error occurred!! Error code: %d exiting...",nr); getchar(); exit(nr); } @@ -78,14 +78,14 @@ void ErrorMsg::Error(unsigned int nr,int addNr) if ((nr>0) && (nr<=NoMsg)) { if (Msg[nr-1]!=NULL) fprintf(stderr,"%s",Msg[nr-1]); - else fprintf(stderr,"unkown error occured!! Error code: %d exiting...",nr); + else fprintf(stderr,"unknown error occurred!! Error code: %d exiting...",nr); fprintf(stderr,"%d",addNr); getchar(); exit(nr); } else { - fprintf(stderr,"unkown error occured!! Error code: %d exiting...",nr); + fprintf(stderr,"unknown error occurred!! Error code: %d exiting...",nr); getchar(); exit(nr); } @@ -93,6 +93,6 @@ void ErrorMsg::Error(unsigned int nr,int addNr) void ErrorMsg::ownError(void) { - fprintf(stdout," Error occured by using Error Message class!! ... exiting..."); + fprintf(stdout," Error occurred by using Error Message class!! ... exiting..."); exit(-1); } diff --git a/openEMS/tools/ExpenseLog.h b/openEMS/tools/ExpenseLog.h index f8cc1ba..8aa1438 100644 --- a/openEMS/tools/ExpenseLog.h +++ b/openEMS/tools/ExpenseLog.h @@ -14,7 +14,7 @@ using namespace std; ExpenseLog EL; \ ExpenseModule* EngineExpense=EL.AddModule("Static Engine Expenses"); \ ExpenseModule* PPExpense=EL.AddModule("Static Post Processing"); \ -ExpenseModule* AdrOpExpense=EL.AddModule("Adress Operator"); +ExpenseModule* AdrOpExpense=EL.AddModule("Address Operator"); #define EXTERN_EXPENSE_DEFINE extern ExpenseLog EL; #define ENGINEEXPENSE_DEFINE extern ExpenseModule* EngineExpense; #define POSTPROCEXPENSE_DEFINE extern ExpenseModule* PPExpense; diff --git a/openEMS/tools/useful.cpp b/openEMS/tools/useful.cpp index 50aacfb..8e548f0 100644 --- a/openEMS/tools/useful.cpp +++ b/openEMS/tools/useful.cpp @@ -63,7 +63,7 @@ std::vector<unsigned int> AssignJobs2Threads(unsigned int jobs, unsigned int nrT } if (jobs>0) - std::cerr << "AssignJobs2Threads: Error, " << jobs << " remain to be assigned, this should not have happend..." << std::endl; + std::cerr << "AssignJobs2Threads: Error, " << jobs << " remain to be assigned, this should not have happened..." << std::endl; if (RemoveEmpty) { diff --git a/openEMS/tools/vtk_file_writer.cpp b/openEMS/tools/vtk_file_writer.cpp index 79c40f3..be6586f 100644 --- a/openEMS/tools/vtk_file_writer.cpp +++ b/openEMS/tools/vtk_file_writer.cpp @@ -70,7 +70,7 @@ void VTK_File_Writer::SetMeshLines(double const* const* lines, unsigned int cons vtkRectilinearGrid* RectGrid = dynamic_cast<vtkRectilinearGrid*>(m_GridData); if (RectGrid==NULL) { - cerr << "VTK_File_Writer::SetMeshLines: Error, grid invalid, this should not have happend! " << endl; + cerr << "VTK_File_Writer::SetMeshLines: Error, grid invalid, this should not have happened! " << endl; exit(1); } RectGrid->SetDimensions(count[0],count[1],count[2]); @@ -97,7 +97,7 @@ void VTK_File_Writer::SetMeshLines(double const* const* lines, unsigned int cons vtkStructuredGrid* StructGrid = dynamic_cast<vtkStructuredGrid*>(m_GridData); if (StructGrid==NULL) { - cerr << "VTK_File_Writer::SetMeshLines: Error, grid invalid, this should not have happend! " << endl; + cerr << "VTK_File_Writer::SetMeshLines: Error, grid invalid, this should not have happened! " << endl; exit(1); } |