Lines Matching refs:pars

1010   Vec         res, pars;  in DoOutput()  local
1032 PetscCall(VecCreate(comm, &pars)); in DoOutput()
1034 PetscCall(VecSetSizes(pars, 20, PETSC_DETERMINE)); in DoOutput()
1035 PetscCall(VecSetFromOptions(pars)); in DoOutput()
1036 PetscCall(VecSetValue(pars, 0, (PetscScalar)grid->ni, INSERT_VALUES)); in DoOutput()
1037 PetscCall(VecSetValue(pars, 1, (PetscScalar)grid->nj, INSERT_VALUES)); in DoOutput()
1038 PetscCall(VecSetValue(pars, 2, (PetscScalar)grid->dx, INSERT_VALUES)); in DoOutput()
1039 PetscCall(VecSetValue(pars, 3, (PetscScalar)grid->dz, INSERT_VALUES)); in DoOutput()
1040 PetscCall(VecSetValue(pars, 4, (PetscScalar)param->L, INSERT_VALUES)); in DoOutput()
1041 PetscCall(VecSetValue(pars, 5, (PetscScalar)param->V, INSERT_VALUES)); in DoOutput()
1043 PetscCall(VecSetValue(pars, 7, (PetscScalar)param->slab_dip, INSERT_VALUES)); in DoOutput()
1044 PetscCall(VecSetValue(pars, 8, (PetscScalar)grid->jlid, INSERT_VALUES)); in DoOutput()
1045 PetscCall(VecSetValue(pars, 9, (PetscScalar)param->lid_depth, INSERT_VALUES)); in DoOutput()
1046 PetscCall(VecSetValue(pars, 10, (PetscScalar)grid->jfault, INSERT_VALUES)); in DoOutput()
1047 PetscCall(VecSetValue(pars, 11, (PetscScalar)param->fault_depth, INSERT_VALUES)); in DoOutput()
1048 PetscCall(VecSetValue(pars, 12, (PetscScalar)param->potentialT, INSERT_VALUES)); in DoOutput()
1049 PetscCall(VecSetValue(pars, 13, (PetscScalar)param->ivisc, INSERT_VALUES)); in DoOutput()
1050 PetscCall(VecSetValue(pars, 14, (PetscScalar)param->visc_cutoff, INSERT_VALUES)); in DoOutput()
1051 PetscCall(VecSetValue(pars, 15, (PetscScalar)param->ibound, INSERT_VALUES)); in DoOutput()
1052 PetscCall(VecSetValue(pars, 16, (PetscScalar)its, INSERT_VALUES)); in DoOutput()
1054 PetscCall(VecSetSizes(pars, 0, PETSC_DETERMINE)); in DoOutput()
1055 PetscCall(VecSetFromOptions(pars)); in DoOutput()
1057 PetscCall(VecAssemblyBegin(pars)); in DoOutput()
1058 PetscCall(VecAssemblyEnd(pars)); in DoOutput()
1077 PetscCall(PetscObjectSetName((PetscObject)pars, "par")); in DoOutput()
1078 PetscCall(VecView(pars, viewer)); in DoOutput()
1082 PetscCall(VecDestroy(&pars)); in DoOutput()