Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex32.c43 BCType bcType; member
69 user.bcType = (BCType)bc; in main()
107 if (user->bcType == NEUMANN) { in ComputeRHS()
138 if (user->bcType == DIRICHLET) { in ComputeMatrix()
142 } else if (user->bcType == NEUMANN) { in ComputeMatrix()
202 if (user->bcType == NEUMANN) { in ComputeMatrix()
H A Dex29.c38 BCType bcType; member
67 user.bcType = (BCType)bc; in main()
119 if (user->bcType == DIRICHLET && (i == 0 || j == 0 || i == mx - 1 || j == my - 1)) { in ComputeRHS()
132 if (user->bcType == NEUMANN) { in ComputeRHS()
179 if (user->bcType == DIRICHLET) { in ComputeMatrix()
182 } else if (user->bcType == NEUMANN) { in ComputeMatrix()
262 if (user->bcType == NEUMANN) { in ComputeMatrix()
H A Dex36.cxx82 BCType bcType; member
314 if (elem_on_boundary && user->bcType == DIRICHLET) { in ComputeRHS_MOAB()
332 if (user->bcType == NEUMANN && false) { in ComputeRHS_MOAB()
418 if (elem_on_boundary && user->bcType == DIRICHLET) { in ComputeMatrix_MOAB()
441 if (user->bcType == NEUMANN && false) { in ComputeMatrix_MOAB()
556 user->bcType = (BCType)bc; in InitializeOptions()
H A Dex35.cxx100 BCType bcType; member
347 if (elem_on_boundary && user->bcType == DIRICHLET) { in ComputeRHS()
369 if (user->bcType == NEUMANN) { in ComputeRHS()
454 if (elem_on_boundary && user->bcType == DIRICHLET) { in ComputeMatrix()
481 if (user->bcType == NEUMANN) { in ComputeMatrix()
598 user->bcType = (BCType)bc; in InitializeOptions()
H A Dex73.c41 BCType bcType; member
61 user->bcType = (BCType)bc; in UserContextCreate()
353 if (ctx->bcType == NEUMANN) { in DMCreateMatrix_ShellDA()
964 if (user->bcType == NEUMANN) { in ComputeRHS_DMDA()
1012 if (user->bcType == DIRICHLET) { in ComputeMatrix_DMDA()
1015 } else if (user->bcType == NEUMANN) { in ComputeMatrix_DMDA()
/petsc/src/snes/tutorials/
H A Dex12.c50 BCType bcType; member
415 options->bcType = DIRICHLET; in ProcessOptions()
435 bc = options->bcType; in ProcessOptions()
436 …c_type", "Type of boundary condition", "ex12.c", bcTypes, 3, bcTypes[options->bcType], &bc, NULL)); in ProcessOptions()
437 options->bcType = (BCType)bc; in ProcessOptions()
608 if (user->bcType == NEUMANN) { in SetupProblem()
627 if (user->bcType == NEUMANN) { in SetupProblem()
651 if (user->bcType == DIRICHLET) { in SetupProblem()
743 if (user->bcType == DIRICHLET) { in SetupDiscretization()
809 if (user.bcType != DIRICHLET) { in main()
H A Dex11.c90 } bcType; typedef
160 bcType bc; /* type of boundary conditions */