loganoz / horses3d

HORSES3D: A high-order discontinuous Galerkin solver for flow simulations and multi-physics applications
https://loganoz.github.io/horses3d/
MIT License
112 stars 24 forks source link

Bug in HexMesh? #82

Closed loganoz closed 2 years ago

loganoz commented 2 years ago

I think it should be a from in the bold to

  allocate(to % elements_sequential(size(from % elements_sequential)))
  allocate(to % elements_mpi       (size(from % elements_mpi       )))
  allocate(to % faces_interior     (size(from % faces_interior     )))
  allocate(to % faces_mpi          (size(**to** % faces_mpi            )))
  allocate(to % faces_boundary     (size(from % faces_boundary     )))

  to % elements_sequential = from % elements_sequential
  to % elements_mpi        = from % elements_mpi
  to % faces_interior      = from % faces_interior
  to % faces_mpi           = **to** % faces_mpi
  to % faces_boundary      = from % faces_boundary

end subroutine HexMesh_Assign END MODULE HexMeshClass

loganoz commented 2 years ago

Fix in commit 4918a3337e04814d1e0e40396f3df0cff77c87c8