Lines Matching refs:options
170 static PetscErrorCode ProcessOptions(MPI_Comm comm, AppCtx *options) in ProcessOptions() argument
173 options->bc = BC_DIRICHLET; in ProcessOptions()
174 options->rhs = RHS_CONSTANT; in ProcessOptions()
175 options->coeff = COEFF_CONSTANT; in ProcessOptions()
176 options->order = 1; in ProcessOptions()
177 options->rhsOrder = 1; in ProcessOptions()
178 options->coeffOrder = 1; in ProcessOptions()
179 options->p4est = PETSC_FALSE; in ProcessOptions()
182 …Type of boundary condition", __FILE__, bcTypes, (PetscEnum)options->bc, (PetscEnum *)&options->bc,… in ProcessOptions()
183 …e", "Type of forcing term", __FILE__, rhsTypes, (PetscEnum)options->rhs, (PetscEnum *)&options->rh… in ProcessOptions()
184 …nductivity coefficient", __FILE__, coeffTypes, (PetscEnum)options->coeff, (PetscEnum *)&options->c… in ProcessOptions()
185 …ynomial order for the approximation of the solution", __FILE__, options->order, &options->order, N… in ProcessOptions()
186 …order for the approximation of the right-hand side", __FILE__, options->rhsOrder, &options->rhsOrd… in ProcessOptions()
187 …al order for the approximation of the coefficient", __FILE__, options->coeffOrder, &options->coeff… in ProcessOptions()
188 …ionsBool("-p4est", "Use p4est to represent the mesh", __FILE__, options->p4est, &options->p4est, N… in ProcessOptions()
193 PetscCall(PetscPrintf(comm, " polynomial order: %" PetscInt_FMT "\n", options->order)); in ProcessOptions()
194 PetscCall(PetscPrintf(comm, " boundary conditions: %s\n", bcTypes[options->bc])); in ProcessOptions()
195 …mm, " right-hand side: %s, order %" PetscInt_FMT "\n", rhsTypes[options->rhs], options->rhsOrder)… in ProcessOptions()
196 …omm, " coefficient: %s, order %" PetscInt_FMT "\n", coeffTypes[options->coeff], options->coeffOrd… in ProcessOptions()
197 PetscCall(PetscPrintf(comm, " non-conforming AMR: %d\n", options->p4est)); in ProcessOptions()