Skip to content

Commit

Permalink
set default mfmax to 1.0 instead of 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Feb 11, 2024
1 parent 80f5e14 commit ad2b27a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/JacRes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PetscErrorCode JacResCreate(JacRes *jr, FB *fb)
ctrl->pShiftAct = 0;
ctrl->pLithoVisc = 1;
ctrl->initGuess = 1;
ctrl->mfmax = 0.15;
ctrl->mfmax = 1.0;
ctrl->lmaxit = 25;
ctrl->lrtol = 1e-6;
ctrl->actTemp = 0; // diffusion is not active by default (otherwise we have to define thermal properties in all cases)
Expand Down
2 changes: 1 addition & 1 deletion src/paraViewOutPassiveTracers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ PetscErrorCode PVPtrCreate(PVPtr *pvptr, FB *fb)
ierr = getIntParam (fb, _OPTIONAL_, "out_ptr_phase", &pvptr->Phase, 1, 1); CHKERRQ(ierr);
ierr = getIntParam (fb, _OPTIONAL_, "out_ptr_MeltFraction", &pvptr->MeltFraction, 1, 1); CHKERRQ(ierr);
ierr = getIntParam (fb, _OPTIONAL_, "out_ptr_Active", &pvptr->Active , 1, 1); CHKERRQ(ierr);
ierr = getIntParam (fb, _OPTIONAL_, "out_ptr_Grid_Mf", &pvptr->Grid_mf , 1, 1); CHKERRQ(ierr);
ierr = getIntParam (fb, _OPTIONAL_, "out_ptr_Grid_Mf", &pvptr->Grid_mf , 1, 1); CHKERRQ(ierr);

// print summary
PetscPrintf(PETSC_COMM_WORLD, "Passive Tracers output parameters:\n");
Expand Down

0 comments on commit ad2b27a

Please sign in to comment.