35 int main(
int argc,
char** argv )
37 #ifdef MOAB_HAVE_NETCDF
40 if( NULL ==
mb )
return 1;
45 const char*
tag_nms[] = {
"MATERIAL_SET",
"DIRICHLET_SET",
"NEUMANN_SET" };
51 cout <<
"Running default case, loading " <<
test_file_name << endl;
52 cout <<
"Usage: " << argv[0] <<
" <filename>\n" << endl;
58 cout <<
"Loaded mesh file: " << argv[argc - 1] << endl;
62 for(
int i = 0; i < 3; i++ )
72 for( set_it = sets.
begin(); set_it != sets.
end(); ++set_it )
83 cout <<
tag_nms[i] <<
" " << set_id <<
" has " << set_ents.
size() <<
" entities:" << endl;
86 set_ents.
print(
" " );
93 cout <<
" This test needs moab configured with netcdf \n";