Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pystencils pystencils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • pystencilspystencils
  • Merge requests
  • !120

Add DataHandling.add_arrays

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Stephan Seitz requested to merge seitz/pystencils:Datahandling.add_arrays into master Jan 13, 2020
  • Overview 0
  • Commits 3
  • Pipelines 7
  • Changes 3

This adds a function for lazy people who want to write

dh = create_data_handling((20, 30))
x, y, z = dh.add_arrays('x, y(9), z')

instead of

dh = create_data_handling((20, 30))
dh.add_array('x')
dh.add_array('y', values_per_cell=9)
dh.add_array('z')

because in most cases you want to use more than one array.

Edited Jan 13, 2020 by Stephan Seitz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Datahandling.add_arrays