Home
last modified time | relevance | path

Searched refs:physics (Results 1 – 25 of 28) sorted by relevance

12

/petsc/src/ts/tutorials/
H A Dex9.c207 PhysicsCtx physics; member
366 ctx->physics.sample = PhysicsSample_Advect; in PhysicsCreate_Advect()
367 ctx->physics.riemann = PhysicsRiemann_Advect; in PhysicsCreate_Advect()
368 ctx->physics.characteristic = PhysicsCharacteristic_Advect; in PhysicsCreate_Advect()
369 ctx->physics.destroy = PhysicsDestroy_SimpleFree; in PhysicsCreate_Advect()
370 ctx->physics.user = user; in PhysicsCreate_Advect()
371 ctx->physics.dof = 1; in PhysicsCreate_Advect()
372 PetscCall(PetscStrallocpy("u", &ctx->physics.fieldname[0])); in PhysicsCreate_Advect()
489 ctx->physics.sample = PhysicsSample_Burgers; in PhysicsCreate_Burgers()
490 ctx->physics.characteristic = PhysicsCharacteristic_Conservative; in PhysicsCreate_Burgers()
[all …]
H A Dex11.c69 Physics physics; member
406 static PetscErrorCode SetupCEED_SW(DM dm, Physics physics) in SetupCEED_SW() argument
416 PetscCall(CreateQFunctionContext_SW(physics, ceed, &qfCtx)); in SetupCEED_SW()
613 static PetscErrorCode SetupCEED_Euler(DM dm, Physics physics) in SetupCEED_Euler() argument
623 PetscCall(CreateQFunctionContext_Euler(physics, ceed, &qfCtx)); in SetupCEED_Euler()
1161 …PetscCall((*user->model->errorIndicator)(dim, cg->volume, user->model->physics->dof, pointVal, poi… in adaptToleranceFVMSetUp()
1220 Physics phys = mod->physics; in Transfer()
1263 PetscCall(PetscNew(&user->model->physics)); in main()
1265 phys = mod->physics; in main()
1429 PetscCall(PetscDSSetRiemannSolver(prob, 0, user->model->physics->riemann)); in main()
[all …]
/petsc/src/ts/tutorials/multirate/
H A Dex7.c53 PhysicsCtx physics; member
152 ctx->physics.sample = PhysicsSample_Advect; in PhysicsCreate_Advect()
153 ctx->physics.flux = PhysicsFlux_Advect; in PhysicsCreate_Advect()
154 ctx->physics.destroy = PhysicsDestroy_SimpleFree; in PhysicsCreate_Advect()
155 ctx->physics.user = user; in PhysicsCreate_Advect()
156 ctx->physics.dof = 1; in PhysicsCreate_Advect()
157 PetscCall(PetscStrallocpy("u", &ctx->physics.fieldname[0])); in PhysicsCreate_Advect()
213 PetscCall((*ctx->physics.flux)(ctx->physics.user, u, ctx->flux, &maxspeed)); in FVRHSFunction()
230 PetscCall((*ctx->physics.flux)(ctx->physics.user, u, ctx->flux, &maxspeed)); in FVRHSFunction()
246 PetscCall((*ctx->physics.flux)(ctx->physics.user, u, ctx->flux, &maxspeed)); in FVRHSFunction()
[all …]
H A Dex5.c167 ctx->physics.sample = PhysicsSample_Advect; in PhysicsCreate_Advect()
168 ctx->physics.riemann = PhysicsRiemann_Advect; in PhysicsCreate_Advect()
169 ctx->physics.characteristic = PhysicsCharacteristic_Advect; in PhysicsCreate_Advect()
170 ctx->physics.destroy = PhysicsDestroy_SimpleFree; in PhysicsCreate_Advect()
171 ctx->physics.user = user; in PhysicsCreate_Advect()
172 ctx->physics.dof = 1; in PhysicsCreate_Advect()
173 PetscCall(PetscStrallocpy("u", &ctx->physics.fieldname[0])); in PhysicsCreate_Advect()
223 …PetscCall((*ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, c… in FVRHSFunctionslow()
260 …PetscCall((*ctx->physics.riemann)(ctx->physics.user, dof, uL, uR, ctx->flux, &maxspeed, ctx->xmin … in FVRHSFunctionslow()
276 …PetscCall((*ctx->physics.riemann)(ctx->physics.user, dof, uL, uR, ctx->flux, &maxspeed, ctx->xmin … in FVRHSFunctionslow()
[all …]
H A Dfinitevolume1d.c558 …PetscCall((*ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, c… in FVRHSFunction()
593 …PetscCall((*ctx->physics.riemann)(ctx->physics.user, dof, uL, uR, ctx->flux, &maxspeed, ctx->xmin … in FVRHSFunction()
626 …PetscCheck(ctx->physics.sample, PETSC_COMM_SELF, PETSC_ERR_SUP, "Physics has not provided a sampli… in FVSample()
638 …PetscCall((*ctx->physics.sample)(ctx->physics.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xma… in FVSample()
H A Dfinitevolume1d.h101 PhysicsCtx physics; member
H A Dex4.c1183 PetscFunctionList limiters = 0, physics = 0; in main() local
1209 PetscCall(PetscFunctionListAdd(&physics, "shallow", PhysicsCreate_Shallow)); in main()
1210 PetscCall(PetscFunctionListAdd(&physics, "advect", PhysicsCreate_Advect)); in main()
1225 …PetscCall(PetscOptionsFList("-physics", "Name of physics model to use", "", physics, physname, phy… in main()
1243 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
1427 PetscCall(PetscFunctionListDestroy(&physics)); in main()
H A Dex6.c742 PetscFunctionList limiters = 0, physics = 0; in main() local
768 PetscCall(PetscFunctionListAdd(&physics, "advect", PhysicsCreate_Advect)); in main()
796 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
982 PetscCall(PetscFunctionListDestroy(&physics)); in main()
H A Dex8.c1084 PetscFunctionList limiters = 0, physics = 0; in main() local
1110 PetscCall(PetscFunctionListAdd(&physics, "advect", PhysicsCreate_Advect)); in main()
1138 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
1356 PetscCall(PetscFunctionListDestroy(&physics)); in main()
/petsc/src/sys/tutorials/output/
H A Dex5_1.out1 … Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous physics
14 … Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous physics
H A Dex5_yaml.out1 … Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous physics
14 … Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous physics
/petsc/doc/tutorials/
H A Dguide_to_examples_by_physics.md6physics problems so that users interested in a particular set of governing equations can easily lo…
87 {doc}`physics/guide_to_stokes`
H A Dhandson.md147 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex19.c.html#line246">physics source co…
291 - Registering your own interchangeable physics and algorithm
298 …C_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11.c.html#line186">source code of physics modules</a>
355 …$ mpiexec -n 4 ./ex11 -f ${PETSC_DIR}/share/petsc/datafiles/meshes/annulus-20.exo -physics sw -mon…
H A Dindex.md3 This page provides connections to PETSc tutorial examples by type of physics being modeled,
/petsc/doc/
H A Dindex.md68 plasma and multi-physics simulation package
72 - [DAMASK](https://damask-multiphysics.org) Unified multi-physics
120 coupling library for partitioned multi-physics simulations
H A Dpetsc.bib3822 multi-physics problems in the solid Earth sciences}},
3944 keywords = {fault slip, finite-element modeling, crustal deformation, earthquake physics},
4549 journal = {Journal of computational physics},
4913 title = {Application of {J}acobian-free {N}ewton-{K}rylov with physics-based
5124 journal = {Journal of computational physics},
7830 url = {http://www.physics.orst.edu/\~{ }bertrand/stuff/Year_Two_Report.pdf},
10487 title = {{PETSc-FEM}: A General Purpose, Parallel, Multi-physics {FEM} Program},
12302 physics-based approach},
14891 howpublished = {\url{http://www.physics.uiowa.edu/cmrs}}
15976 title = {A distributed computing portal for coupling multi-physics and multiple domains in
[all …]
/petsc/doc/miscellaneous/
H A Dfunding.md11 …veries in High Energy Physics](https://www.scidac.gov/partnerships/high-energy-physics.html), 2022-
/petsc/doc/tutorials/physics/
H A Dguide_to_stokes.md57 …s determined by the physics. Given a quadrature rule to evaluate the form integral, we would only …
73 …oint functions is also used to build the Jacobian. The last piece of our physics specification is …
253 * - .. figure:: /images/tutorials/physics/ex69_sol_m_2_n_2_B_1.png
257 - .. figure:: /images/tutorials/physics/ex69_sol_m_2_n_2_B_375.png
786 * - .. figure:: /images/tutorials/physics/stokes_p2p1_sys_mat.png
790 - .. figure:: /images/tutorials/physics/stokes_p2p1_sys_mat_sparse.png
794 * - .. figure:: /images/tutorials/physics/stokes_p2p1_prec_mat.png
798 - .. figure:: /images/tutorials/physics/stokes_p2p1_prec_mat_sparse.png
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMComposite.pyx149 "multi-physics" preconditioner.
/petsc/doc/manual/
H A Ddmnetwork.md95 no physics is associated yet. This is done by adding the components
H A Ddmstag.md68 This is useful for higher-level operations such as computing norms or developing physics-based solv…
H A Dmat.md719 flow) and “multi-physics” problems. Usually the number of blocks is
743 especially in a multi-physics context where different groups might be
H A Ddmplex.md7 for hierarchy and multi-physics. `DMPLEX` was created to remedy a huge
/petsc/doc/community/meetings/2023/
H A Dindex.md285 applications in the fields of plasma physics, solar physics, and cosmology.
310 that physics applications can be built in such a way that they can
/petsc/doc/community/meetings/2025/
H A Dindex.md204 …ncentrated at the boundaries. However, adequately capturing the relevant physics that allows for b…

12