8 int main(
int argc,
char* argv[] )
16 std::cerr <<
"Usage: " << argv[0] <<
" [filename]" << std::endl;
20 const char* filename = argv[1];
28 std::vector< int > level_degrees;
31 level_degrees.resize( argc - 2 );
32 for(
int i = 2; i < argc; ++i )
33 level_degrees[i - 2] = atoi( argv[i] );
37 level_degrees.resize( 2 );
39 int num_levels =
static_cast< int >( level_degrees.size() );
41 std::cout <<
"Starting hierarchy generation" << std::endl;
42 std::vector< EntityHandle > set;
44 std::cout <<
"Finished hierarchy generation" << std::endl;
46 std::stringstream file;
47 file <<
"mesh_hierarchy.h5m";