//return false;
}
- std::string GMFFileName = _hypothesis->GetGMFFile();
+ std::string GMFFileName = BLSURFPlugin_Hypothesis::GetDefaultGMFFile();
+ if (_hypothesis)
+ GMFFileName = _hypothesis->GetGMFFile();
if (GMFFileName != "") {
// bool GMFFileMode = _hypothesis->GetGMFFileMode();
bool asciiFound = (GMFFileName.find(".mesh",GMFFileName.length()-5) != std::string::npos);
_coordsEnfVertexMap(GetDefaultCoordsEnfVertexMap()),
_faceEntryEnfVertexEntryListMap(GetDefaultFaceEntryEnfVertexEntryListMap()),
_enfVertexEntryEnfVertexMap(GetDefaultEnfVertexEntryEnfVertexMap()),
- _groupNameNodeIDMap(GetDefaultGroupNameNodeIDMap())
+ _groupNameNodeIDMap(GetDefaultGroupNameNodeIDMap()),
+ _GMFFileName(GetDefaultGMFFile())
/* TODO GROUPS
_groupNameEnfVertexListMap(GetDefaultGroupNameEnfVertexListMap()),
_enfVertexGroupNameMap(GetDefaultEnfVertexGroupNameMap())
_name = "BLSURF_Parameters";
_param_algo_dim = 2;
- _GMFFileName = ""; // no GMF export
// _GMFFileMode = false; // GMF ascii mode
// to disable writing boundaries
double BLSURFPlugin_Hypothesis::GetDefaultPreCADEpsNano() {
return undefinedDouble(); //1e-4;
}
+
+//======================================================================
+std::string BLSURFPlugin_Hypothesis::GetDefaultGMFFile() {
+ return "";
+}
// void SetGMFFile(const std::string& theFileName, bool isBinary);
void SetGMFFile(const std::string& theFileName);
std::string GetGMFFile() const { return _GMFFileName; }
+ static std::string GetDefaultGMFFile();
// bool GetGMFFileMode() const { return _GMFFileMode; }
// Persistence