Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
ExaHyPE-Engine
ExaHyPE-Engine
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 68
    • Issues 68
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ExaHyPE
  • ExaHyPE-EngineExaHyPE-Engine
  • Issues
  • #186

Closed
Open
Opened Oct 04, 2017 by Dominic Charrier@di25coxOwner

Turn mapping events off on coarse levels

  • We basically will go from here:
    peano::MappingSpecification
    exahype::mappings::XYZ::enterCellSpecification(int level) const {
      return peano::MappingSpecification(
        peano::MappingSpecification::WholeTree,
        peano::MappingSpecification::RunConcurrentlyOnFineGrid,true);
    }
    To here:
    peano::MappingSpecification
    exahype::mappings::XYZ::enterCellSpecification(int level) const {
      if (level < exahype::solvers::getCoarsestMeshLevelOfAllSolvers()) {
       return peano::MappingSpecification(
        peano::MappingSpecification::Nop,
        peano::MappingSpecification::RunConcurrentlyOnFineGrid,true);
      }
    
      return peano::MappingSpecification(
        peano::MappingSpecification::WholeTree,
        peano::MappingSpecification::RunConcurrentlyOnFineGrid,true);
    }
  • Second, we should set the alterState bool only to true in mappings where this is necessary, i.e., where we perform reductions or use temporary variables.
Edited Oct 04, 2017 by Dominic Charrier
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: exahype/ExaHyPE-Engine#186