Skip to content

GetMaxGuardCell() returns 1 instead of 2 for Yee-Like Solvers #6760

@ax3l

Description

@ax3l

Follow-up to #6666, see #6666 (comment)

The EvolveB stencil at boundary nodes of nodal B components accesses ghost cells of 2 for cell-centered E. All Yee-like solvers (Yee, CKC, Cylindrical, Spherical) are affected.

Fix: change GetMaxGuardCell() to return IntVect{2,2,2}

This single fix also resolves the single-precision comm path issue, because ng_FieldSolver flows from GetMaxGuardCell() into both SP and non-SP paths.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions