Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex11.c1253 char physname[256] = "advect"; in main() local
1318 …st("-physics", "Physics module to solve", "", PhysicsList, physname, physname, sizeof physname, NU… in main()
1319 PetscCall(PetscFunctionListFind(PhysicsList, physname, &physcreate)); in main()
1324 …etscCheck(phys->dof > 0, comm, PETSC_ERR_ARG_WRONGSTATE, "Physics '%s' did not set dof", physname); in main()
1527 …(mod->maxspeed > 0, comm, PETSC_ERR_ARG_WRONGSTATE, "Physics '%s' did not set maxspeed", physname); in main()
H A Dex9.c1389 char lname[256] = "mc", physname[256] = "advect", final_fname[256] = "solution.m"; in main() local
1443 …(Riemann solver and characteristics) to use", "", physics, physname, physname, sizeof(physname), N… in main()
1459 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
1460 PetscCheck(r, PETSC_COMM_SELF, PETSC_ERR_ARG_UNKNOWN_TYPE, "Physics '%s' not found", physname); in main()
/petsc/src/ts/tutorials/multirate/
H A Dex4.c1182 char lname[256] = "mc", physname[256] = "advect", final_fname[256] = "solution.m"; in main() local
1225 …t("-physics", "Name of physics model to use", "", physics, physname, physname, sizeof(physname), N… in main()
1243 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
1244 PetscCheck(r, PETSC_COMM_SELF, PETSC_ERR_ARG_UNKNOWN_TYPE, "Physics '%s' not found", physname); in main()
H A Dex5.c612 char lname[256] = "mc", physname[256] = "advect", final_fname[256] = "solution.m"; in main() local
676 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
677 PetscCheck(r, PETSC_COMM_SELF, PETSC_ERR_ARG_UNKNOWN_TYPE, "Physics '%s' not found", physname); in main()
H A Dex7.c660 char physname[256] = "advect", final_fname[256] = "solution.m"; in main() local
700 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
701 PetscCheck(r, PETSC_COMM_SELF, PETSC_ERR_ARG_UNKNOWN_TYPE, "Physics '%s' not found", physname); in main()
H A Dex6.c741 char lname[256] = "mc", physname[256] = "advect", final_fname[256] = "solution.m"; in main() local
796 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
797 PetscCheck(r, PETSC_COMM_SELF, PETSC_ERR_ARG_UNKNOWN_TYPE, "Physics '%s' not found", physname); in main()
H A Dex8.c1083 char lname[256] = "mc", physname[256] = "advect", final_fname[256] = "solution.m"; in main() local
1138 PetscCall(PetscFunctionListFind(physics, physname, &r)); in main()
1139 PetscCheck(r, PETSC_COMM_SELF, PETSC_ERR_ARG_UNKNOWN_TYPE, "Physics '%s' not found", physname); in main()