Skip to content
Snippets Groups Projects
Commit f585c3f2 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 6e63d955
No related branches found
No related tags found
No related merge requests found
// $Id: CommandLine.cpp,v 1.124 2008-03-20 11:44:02 geuzaine Exp $ // $Id: CommandLine.cpp,v 1.125 2008-03-24 21:39:46 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -283,9 +283,10 @@ void Get_Options(int argc, char *argv[]) ...@@ -283,9 +283,10 @@ void Get_Options(int argc, char *argv[])
else if(!strcmp(argv[i] + 1, "bgm")) { else if(!strcmp(argv[i] + 1, "bgm")) {
i++; i++;
if(argv[i] != NULL){ if(argv[i] != NULL){
CTX.bgm_filename=argv[i++]; CTX.bgm_filename = argv[i++];
} else { }
fprintf(stderr, ERROR_STR "Missing file name\n"); else{
fprintf(stderr, ERROR_STR "Missing file name\n");
exit(1); exit(1);
} }
} }
......
// $Id: GModelIO_MED.cpp,v 1.15 2008-03-24 21:03:18 geuzaine Exp $ // $Id: GModelIO_MED.cpp,v 1.16 2008-03-24 21:39:47 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -323,7 +323,6 @@ int GModel::readMED(const std::string &name) ...@@ -323,7 +323,6 @@ int GModel::readMED(const std::string &name)
(meshDim > 1) ? coord[meshDim * i + 1] : 0., (meshDim > 1) ? coord[meshDim * i + 1] : 0.,
(meshDim > 2) ? coord[meshDim * i + 2] : 0., (meshDim > 2) ? coord[meshDim * i + 2] : 0.,
0, nodeTags.empty() ? 0 : nodeTags[i]); 0, nodeTags.empty() ? 0 : nodeTags[i]);
// read elements // read elements
for(int mshType = 0; mshType < 50; mshType++){ // loop over all possible MSH types for(int mshType = 0; mshType < 50; mshType++){ // loop over all possible MSH types
med_geometrie_element type; med_geometrie_element type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment