Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Nektar Nektar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 91
    • Issues 91
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 62
    • Merge requests 62
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Nektar
  • NektarNektar
  • Merge requests
  • !1222

WIP: Add m_state to Array<OneD, T>

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Spencer Sherwin requested to merge feature/Array_state into master Jan 24, 2021
  • Overview 1
  • Commits 10
  • Pipelines 4
  • Changes 63

Add a state identifier to Array<OneD, T> which has he following characteristics:

Array<OneD, NekDouble> myArray;

myArray.SetState(eCoeffState); (set one of the states listed below to 1)

myArray.HasState(eCoeffState); (check the State and return a book. I have setup options with 1,2 and 3 arguments).

myArray.ResetState(eCoeffState); (reset this state back to 0).

The current enum states I have set up in SharedArray are:

enum States
{
    eCoeffState,       // In Coeff spae otherwise in Physical space 
    eFourierState,     // In Fourier space
    eGlobalState,      // Global coefficient space otherwise local coeff space
    eInterlacedState,  // Data is in interlaced format
    ePaddedState,      // Data is padded  
    eCollPaddedState,  // Data is padded for collection usage. 
    SIZE_States
};
Edited Jan 30, 2021 by Spencer Sherwin
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/Array_state