Lines Matching refs:molef
318 PetscErrorCode MassFractionToMoleFraction(User user, Vec massf, Vec *molef) in MassFractionToMoleFraction() argument
324 PetscCall(VecDuplicate(massf, molef)); in MassFractionToMoleFraction()
326 PetscCall(VecGetArray(*molef, &mof)); in MassFractionToMoleFraction()
329 PetscCall(VecRestoreArray(*molef, &mof)); in MassFractionToMoleFraction()
337 PetscErrorCode MoleFractionToMassFraction(User user, Vec molef, Vec *massf) in MoleFractionToMassFraction() argument
343 PetscCall(VecDuplicate(molef, massf)); in MoleFractionToMassFraction()
344 PetscCall(VecGetArrayRead(molef, &mof)); in MoleFractionToMassFraction()
348 PetscCall(VecRestoreArrayRead(molef, &mof)); in MoleFractionToMassFraction()
389 PETSC_UNUSED PetscErrorCode PrintSpecies(User user, Vec molef) in PrintSpecies() argument
397 PetscCall(VecGetArrayRead(molef, &mof)); in PrintSpecies()
401 PetscCall(VecRestoreArrayRead(molef, &mof)); in PrintSpecies()