35 int main(
int argc,
char** argv )
37 #ifdef MOAB_HAVE_NETCDF
39 std::unique_ptr< Interface >
mb(
new( std::nothrow )
Core );
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++ )
80 cout << tag_nms[i] <<
" " << set_id <<
" has " << set_ents.
size() <<
" entities:" << endl;
83 set_ents.
print(
" " );
89 cout <<
" This test needs moab configured with netcdf \n";