Home
last modified time | relevance | path

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

/petsc/src/sys/tutorials/
H A Dex5.c75 PetscCall(PetscBagRegisterReal(bag, &params->rho, 3.0, "rho", "Density, kg/m^3")); in main()
92 PetscCall(PetscBagRegisterReal(bag, &params->pos.x1, 1.0, "x1", "x position")); in main()
93 PetscCall(PetscBagRegisterReal(bag, &params->pos.x2, 1.9, "x2", "y position")); in main()
H A Dex5f90.F9077 PetscCallA(PetscBagRegisterReal(bag, data%y, value, 'y', 'y variable help message', ierr))
79 …PetscCallA(PetscBagRegisterReal(bag, data%pos%x1, value, 'pos_x1', 'tuple value 1 help message', i…
81 …PetscCallA(PetscBagRegisterReal(bag, data%pos%x2, value, 'pos_x2', 'tuple value 2 help message', i…
/petsc/src/snes/tutorials/
H A Dex34.c118 PetscCall(PetscBagRegisterReal(bag, &p->r_0, 0.9, "r_0", "Ball radius, m")); in SetupParameters()
119 …PetscCall(PetscBagRegisterReal(bag, &p->r_free, 0.697965148223374, "r_free", "Ball free boundary r… in SetupParameters()
120 …PetscCall(PetscBagRegisterReal(bag, &p->A, 0.680259411891719, "A", "Logarithmic coefficient in exa… in SetupParameters()
121 …PetscCall(PetscBagRegisterReal(bag, &p->B, 0.471519893402112, "B", "Constant coefficient in exact … in SetupParameters()
H A Dex71.c177 PetscCall(PetscBagRegisterReal(bag, &p->Delta, 1.0, "Delta", "Pressure drop per unit length")); in SetupParameters()
178 PetscCall(PetscBagRegisterReal(bag, &p->nu, 1.0, "nu", "Kinematic viscosity")); in SetupParameters()
179 PetscCall(PetscBagRegisterReal(bag, &p->u_0, 0.0, "u_0", "Tangential velocity at the wall")); in SetupParameters()
180 PetscCall(PetscBagRegisterReal(bag, &p->alpha, 0.0, "alpha", "Angle of pipe wall to x-axis")); in SetupParameters()
H A Dex76.c309 PetscCall(PetscBagRegisterReal(bag, &p->nu, 1.0, "nu", "Kinematic viscosity")); in SetupParameters()
310 PetscCall(PetscBagRegisterReal(bag, &p->alpha, 1.0, "alpha", "Thermal diffusivity")); in SetupParameters()
311 PetscCall(PetscBagRegisterReal(bag, &p->theta, 0.0, "theta", "Angle of pipe wall to x-axis")); in SetupParameters()
H A Dex36.c136 …PetscCall(PetscBagRegisterReal(bag, &p->epsilon, 1.0, "epsilon", "Wavelength of fine scale oscilla… in SetupParameters()
H A Dex27.c359 PetscCall(PetscBagRegisterReal(bag, &param->k, 1.0, "k", "Thermal conductivity")); in SetupParameters()
H A Dex69.c3020 …PetscCall(PetscBagRegisterReal(bag, &p->B, 1.0, "B", "Exponential scale for viscosity variation")); in SetUpParameters()
3026 PetscCall(PetscBagRegisterReal(bag, &p->etaA, 1.0, "etaA", "Viscosity for x < xc")); in SetUpParameters()
3027 PetscCall(PetscBagRegisterReal(bag, &p->etaB, 1.0, "etaB", "Viscosity for x > xc")); in SetUpParameters()
3028 PetscCall(PetscBagRegisterReal(bag, &p->xc, 0.5, "xc", "x-coordinate of the viscosity jump")); in SetUpParameters()
/petsc/include/
H A Dpetscbag.h43 PETSC_EXTERN PetscErrorCode PetscBagRegisterReal(PetscBag, void *, PetscReal, const char *, const c…
/petsc/src/dm/tutorials/
H A Dex7.c56 PetscCall(PetscBagRegisterReal(bag, &params->ra, 1.0, "param_1", "The first parameter")); in main()
/petsc/src/ts/tutorials/
H A Dex76.c1153 PetscCall(PetscBagRegisterReal(bag, &p->Strouhal, 1.0, "S", "Strouhal number")); in SetupParameters()
1154 PetscCall(PetscBagRegisterReal(bag, &p->Froude, 1.0, "Fr", "Froude number")); in SetupParameters()
1155 PetscCall(PetscBagRegisterReal(bag, &p->Reynolds, 1.0, "Re", "Reynolds number")); in SetupParameters()
1156 PetscCall(PetscBagRegisterReal(bag, &p->Peclet, 1.0, "Pe", "Peclet number")); in SetupParameters()
1157 PetscCall(PetscBagRegisterReal(bag, &p->p_th, 1.0, "p_th", "Thermodynamic pressure")); in SetupParameters()
1158 PetscCall(PetscBagRegisterReal(bag, &p->mu, 1.0, "mu", "Dynamic viscosity")); in SetupParameters()
1159 PetscCall(PetscBagRegisterReal(bag, &p->nu, 1.0, "nu", "Kinematic viscosity")); in SetupParameters()
1160 PetscCall(PetscBagRegisterReal(bag, &p->c_p, 1.0, "c_p", "Specific heat at constant pressure")); in SetupParameters()
1161 PetscCall(PetscBagRegisterReal(bag, &p->k, 1.0, "k", "Thermal conductivity")); in SetupParameters()
1162 PetscCall(PetscBagRegisterReal(bag, &p->alpha, 1.0, "alpha", "Thermal diffusivity")); in SetupParameters()
[all …]
H A Dex77.c328 PetscCall(PetscBagRegisterReal(bag, &p->nu, 1.0, "nu", "Kinematic viscosity")); in SetupParameters()
329 PetscCall(PetscBagRegisterReal(bag, &p->alpha, 1.0, "alpha", "Thermal diffusivity")); in SetupParameters()
330 PetscCall(PetscBagRegisterReal(bag, &p->T_in, 1.0, "T_in", "Inlet temperature")); in SetupParameters()
331 PetscCall(PetscBagRegisterReal(bag, &p->omega, 1.0, "omega", "Rotation speed in MMS benchmark")); in SetupParameters()
/petsc/src/sys/classes/bag/
H A Dbag.c397 PetscErrorCode PetscBagRegisterReal(PetscBag bag, void *addr, PetscReal mdefault, const char *name,… in PetscBagRegisterReal() function