use CSXCAD sub-sampling flag
parent
ff9d362d74
commit
533a0163d6
|
@ -26,7 +26,9 @@ ProcessFields::ProcessFields(Engine_Interface_Base* eng_if) : Processing(eng_if)
|
||||||
m_DumpType = E_FIELD_DUMP;
|
m_DumpType = E_FIELD_DUMP;
|
||||||
// vtk-file is default
|
// vtk-file is default
|
||||||
m_fileType = VTK_FILETYPE;
|
m_fileType = VTK_FILETYPE;
|
||||||
SetSubSampling(1);
|
subSample[0]=1;
|
||||||
|
subSample[1]=1;
|
||||||
|
subSample[2]=1;
|
||||||
m_SampleType = NONE;
|
m_SampleType = NONE;
|
||||||
SetPrecision(6);
|
SetPrecision(6);
|
||||||
m_dualTime = false;
|
m_dualTime = false;
|
||||||
|
|
|
@ -552,6 +552,7 @@ int openEMS::SetupFDTD(const char* file)
|
||||||
ProcField->SetFileType((ProcessFields::FileType)db->GetFileType());
|
ProcField->SetFileType((ProcessFields::FileType)db->GetFileType());
|
||||||
if (CylinderCoords)
|
if (CylinderCoords)
|
||||||
ProcField->SetMeshType(Processing::CYLINDRICAL_MESH);
|
ProcField->SetMeshType(Processing::CYLINDRICAL_MESH);
|
||||||
|
if (db->GetSubSampling())
|
||||||
for (int n=0; n<3; ++n)
|
for (int n=0; n<3; ++n)
|
||||||
ProcField->SetSubSampling(db->GetSubSampling(n),n);
|
ProcField->SetSubSampling(db->GetSubSampling(n),n);
|
||||||
ProcField->SetFilePattern(db->GetName());
|
ProcField->SetFilePattern(db->GetName());
|
||||||
|
|
Loading…
Reference in New Issue