Skip to content

Commit ca3df68

Browse files
committed
Do not enroll AMR condition in magnoh.cpp
1 parent ee219ab commit ca3df68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/pgen/magnoh.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ void Mesh::InitUserMeshData(ParameterInput *pin) {
7777
perturb = pin->GetOrAddReal("problem","perturb",0.0);
7878
mphi = pin->GetOrAddReal("problem","mphi",1.0);
7979

80-
// Add AMR condition based on density gradient
81-
if (adaptive==true)
82-
EnrollUserRefinementCondition(RefinementCondition);
83-
8480
return;
8581
}
8682

0 commit comments

Comments
 (0)