console output: show snapped mesh type & number of lines/cells
parent
830f7494c8
commit
3acea1b203
|
@ -181,7 +181,12 @@ void Processing::DefineStartStopCoord(double* dstart, double* dstop)
|
|||
|
||||
void Processing::ShowSnappedCoords()
|
||||
{
|
||||
cerr << m_Name << ": snapped coords: (" << Op->GetDiscLine( 0, start[0], m_dualMesh ) << ","
|
||||
cerr << m_Name << ": snapped ";
|
||||
if (m_dualMesh)
|
||||
cerr << "dual";
|
||||
else
|
||||
cerr << "primary";
|
||||
cerr << " coords: (" << Op->GetDiscLine( 0, start[0], m_dualMesh ) << ","
|
||||
<< Op->GetDiscLine( 1, start[1], m_dualMesh ) << "," << Op->GetDiscLine( 2, start[2], m_dualMesh ) << ") -> ("
|
||||
<< Op->GetDiscLine( 0, stop[0], m_dualMesh ) << ","<< Op->GetDiscLine( 1, stop[1], m_dualMesh ) << ","
|
||||
<< Op->GetDiscLine( 2, stop[2], m_dualMesh ) << ")";
|
||||
|
|
|
@ -670,6 +670,7 @@ int openEMS::SetupFDTD(const char* file)
|
|||
FDTD_Op->ShowExtStat();
|
||||
cout << "Creation time for operator: " << CalcDiffTime(OpDoneTime,startTime) << " s" << endl;
|
||||
}
|
||||
cout << "FDTD simulation size: " << FDTD_Op->GetNumberOfLines(0) << "x" << FDTD_Op->GetNumberOfLines(1) << "x" << FDTD_Op->GetNumberOfLines(2) << " --> " << FDTD_Op->GetNumberCells() << " FDTD cells " << endl;
|
||||
cout << "FDTD timestep is: " <<FDTD_Op->GetTimestep() << " s; Nyquist rate: " << FDTD_Op->Exc->GetNyquistNum() << " timesteps @" << CalcNyquistFrequency(FDTD_Op->Exc->GetNyquistNum(),FDTD_Op->GetTimestep()) << " Hz" << endl;
|
||||
cout << "Excitation signal length is: " << FDTD_Op->Exc->Length << " timesteps (" << FDTD_Op->Exc->Length*FDTD_Op->GetTimestep() << "s)" << endl;
|
||||
|
||||
|
|
Loading…
Reference in New Issue