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