MCPcopy Create free account
hub / github.com/Kitware/VTK / SetVariableFileFormat

Method SetVariableFileFormat

IO/EnSight/core/EnSightDataSet.cxx:973–986  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

971
972//------------------------------------------------------------------------------
973void EnSightDataSet::SetVariableFileFormat()
974{
975 auto format = this->GeometryFile.Format;
976 if (format == FileType::ASCII)
977 {
978 return; // ASCII is default
979 }
980 for (auto& var : this->Variables)
981 {
982 var.File.Format = format;
983 var.File.ByteOrder = this->GeometryFile.ByteOrder;
984 var.ImaginaryFile.Format = format;
985 }
986}
987
988//------------------------------------------------------------------------------
989std::vector<double> EnSightDataSet::GetTimeSteps()

Callers 1

GetPartInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected