Home
last modified time | relevance | path

Searched refs:obsType (Results 1 – 1 of 1) sorted by relevance

/petsc/src/snes/tutorials/
H A Dex34.c50 ObstacleType obsType; // Type of obstacle member
98 options->obsType = OBSTACLE_BALL; in ProcessOptions()
102 …tacle", "ex34.c", obstacleTypes, NUM_OBSTACLE_TYPES, obstacleTypes[options->obsType], &obs, NULL)); in ProcessOptions()
103 options->obsType = (ObstacleType)obs; in ProcessOptions()
167 switch (user->obsType) { in SetupPrimalProblem()
175 …obstacle type: %s (%d)", obstacleTypes[PetscMin(user->obsType, NUM_OBSTACLE_TYPES)], user->obsType in SetupPrimalProblem()