Issue for particles in quad cell

Due to a high convergence value (1.0e-2) in phy2logQuad (variable conv),
    particles were being stuck in some elements, reaching a segmentation
    fault. The new limit (1.0e-4) should avoid this.
This commit is contained in:
Jorge Gonzalez 2023-02-09 15:32:04 +01:00
commit de1d4567f3
2 changed files with 3 additions and 3 deletions

View file

@ -639,8 +639,8 @@ MODULE moduleMesh
CLASS(meshCell), INTENT(inout):: self
CLASS(particle), INTENT(inout), TARGET:: part
CLASS(meshCell), OPTIONAL, INTENT(in):: oldCell
REAL(8):: Xi(1:3)
CLASS(meshElement), POINTER:: neighbourElement
REAL(8):: Xi(1:3) = 0.D0
CLASS(meshElement), POINTER:: neighbourElement => NULL()
INTEGER:: sp
Xi = self%phy2log(part%r)