Lines Matching refs:options

21 PetscErrorCode ProcessOptions(MPI_Comm comm, AppCtx *options)  in ProcessOptions()  argument
24 options->debug = PETSC_FALSE; in ProcessOptions()
25 options->nlevels = 1; in ProcessOptions()
26 options->nghost = 1; in ProcessOptions()
27 options->dim = 2; in ProcessOptions()
28 options->nele = 5; in ProcessOptions()
29 options->degree = 2; in ProcessOptions()
30 options->simplex = PETSC_FALSE; in ProcessOptions()
31 options->write_output = PETSC_FALSE; in ProcessOptions()
32 options->input_file[0] = '\0'; in ProcessOptions()
33 PetscCall(PetscStrncpy(options->output_file, "ex3.h5m", sizeof(options->output_file))); in ProcessOptions()
36 …PetscCall(PetscOptionsBool("-debug", "Enable debug messages", "ex2.cxx", options->debug, &options-… in ProcessOptions()
37 …onsRangeInt("-dim", "The topological mesh dimension", "ex3.cxx", options->dim, &options->dim, NULL… in ProcessOptions()
38 …Int("-n", "The number of elements in each dimension", "ex3.cxx", options->nele, &options->nele, NU… in ProcessOptions()
39 …Int("-levels", "Number of levels in the hierarchy", "ex3.cxx", options->nlevels, &options->nlevels… in ProcessOptions()
40 …e", "Number of degrees at each level of refinement", "ex3.cxx", options->degree, &options->degree,… in ProcessOptions()
41 …dInt("-ghost", "Number of ghost layers in the mesh", "ex3.cxx", options->nghost, &options->nghost,… in ProcessOptions()
42 …eate simplices instead of tensor product elements", "ex3.cxx", options->simplex, &options->simplex… in ProcessOptions()
43 …ing("-input", "The input mesh file", "ex3.cxx", options->input_file, options->input_file, sizeof(o… in ProcessOptions()
44 … (Default H5M format)", "ex3.cxx", options->output_file, options->output_file, sizeof(options->out… in ProcessOptions()
47 PetscCall(PetscLogEventRegister("CreateMesh", DM_CLASSID, &options->createMeshEvent)); in ProcessOptions()