Skip to content
Snippets Groups Projects
explicit-laplace-grid-1d_impl.h.in 376 B
Newer Older
  • Learn to ignore specific revisions
  •    const RealType& hxSquareInverse = entity.getMesh().template getSpaceStepsProducts< -2 >(); 
       const IndexType& center = entity.getIndex(); 
       const IndexType& east = neighbourEntities.template getEntityIndex< 1 >(); 
       const IndexType& west = neighbourEntities.template getEntityIndex< -1 >(); 
       return ( u[ west ] - 2.0 * u[ center ]  + u[ east ] ) * hxSquareInverse;