Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
dorie
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • dorie
  • dorie
  • Issues
  • #120

Closed
Open
Opened Oct 26, 2018 by Lukas Riedel@lriedelOwner0 of 1 task completed0/1 task

Automatically scale input scaling fields to global grid size

Overview

The following discussion from !110 (merged) should be addressed:

  • @sospinar started a discussion: (+2 comments)

    I would like to get rid of the keyword grid.extensions: when working with several files it gets quite annoying to modify it knowing that it is information that it is already contained in the grid.

    Before this MR this keyword was used in a few places and I thought that we could move forward to remove it completely. Now, I would suggest calculating the grid extensions directly from the grid so that h5 files can still fit the grid.

Proposal

The keywords extensions and offset in the <scaling_section> should become optional. If omitted, the input field will be automatically scaled to match the global grid size. This requires a grid view to be passed to the ScalingAdapter, which could then adhere to the GridFunction interface of PDELab.

Additionally, the grid view could be passed to the Interpolator, to also make it a GridFunction. I'm not completely sure where the grid extensions should be calculated.

How to test the implementation?

Write a unit tests where the keywords extensions and offset are omitted and check the results against using the keywords.

Related issues and MRs

  • #110 (closed): Original implementation of global scaling fields (!110 (merged))
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dorie/dorie#120