6 libMesh::LibMeshInit init(argc, argv);
9 const bool MASTER_bPerfLog_carl_libmesh =
true;
10 libMesh::PerfLog perf_log(
"Main program", MASTER_bPerfLog_carl_libmesh);
13 libMesh::Parallel::Communicator& WorldComm = init.comm();
16 int rank = WorldComm.rank();
17 int nodes = WorldComm.size();
22 GetPot command_line(argc, argv);
28 std::string input_filename;
29 if (command_line.search(2,
"--inputfile",
"-i")) {
30 input_filename = command_line.next(input_filename);
31 field_parser.parse_input_file(input_filename,
"#",
"\n",
" \t\n");
33 field_parser = command_line;
40 const unsigned int dim = 3;
42 libmesh_example_requires(dim == LIBMESH_DIM,
"3D support");
47 perf_log.push(
"Meshes - Parallel",
"Read files:");
48 libMesh::Mesh system_mesh(WorldComm, dim);
50 system_mesh.prepare_for_use();
52 libMesh::Mesh mesh_weight(WorldComm, dim);
53 mesh_weight.allow_renumbering(
false);
55 mesh_weight.prepare_for_use();
57 perf_log.pop(
"Meshes - Parallel",
"Read files:");
void get_input_params(GetPot &field_parser, feti_iterate_params &input_params)
Parser function for the coupled solver test programs.