Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
|
static char | help [] = "...\n\n" |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 9 of file loops_test.cpp.
19 PetscBool flg = PETSC_TRUE;
21 #if PETSC_VERSION_GE(3, 6, 4)
30 if (flg != PETSC_TRUE) {
31 SETERRQ(PETSC_COMM_SELF, 1,
"*** ERROR -my_file (MESH FILE NEEDED)");
47 std::cout <<
"<<<< All BLOCKSETs, SIDESETs and NODESETs >>>>>" << std::endl;
49 std::cout << it->getName() << std::endl;
50 myfile << it->getName() << std::endl;
52 std::cout <<
"<<<< BLOCKSETs >>>>>" << std::endl;
54 std::cout << it->getName() << std::endl;
55 myfile << it->getName() << std::endl;
57 std::cout <<
"<<<< NODESETs >>>>>" << std::endl;
59 std::cout << it->getName() << std::endl;
60 myfile << it->getName() << std::endl;
62 std::cout <<
"<<<< SIDESETs >>>>>" << std::endl;
64 std::cout << it->getName() << std::endl;
65 myfile << it->getName() << std::endl;
67 std::cout <<
"<<<< MeshSet of Name Moon >>>>" << std::endl;
69 std::cout << it->getName() << std::endl;
70 myfile << it->getName() << std::endl;
71 if (it->getBcTypeULong() &
BLOCKSET) {
72 std::cout <<
"BLOCKSET" << std::endl;
73 myfile <<
"BLOCKSET" << std::endl;
75 if (it->getBcTypeULong() &
SIDESET) {
76 std::cout <<
"SIDESET" << std::endl;
77 myfile <<
"SIDESET" << std::endl;
79 if (it->getBcTypeULong() &
NODESET) {
80 std::cout <<
"NODESET" << std::endl;
81 myfile <<
"NODESET" << std::endl;
◆ help
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.