Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • openfpm_data openfpm_data
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sbalzarini Lab
    • SSoftware
    • PParallel Computing
  • OpenFPM
  • openfpm_dataopenfpm_data
  • Wiki
  • Home

Home · Changes

Page history
Updated Home (markdown) authored May 04, 2015 by Pietro Incardona's avatar Pietro Incardona
Hide whitespace changes
Inline Side-by-side
Home.md
View page @ 5694f33a
......@@ -32,31 +32,3 @@ Specializations are allowed to be mapped or use internally STL, Boost, OpenFPM_d
### [Iterators](Iterators)
### [Template](Template order)
### Template parameter oder
Template parameters must follow an order, first come the specific template parameters, than the basic object the structure is storing in the following order, memory pool, ordering, implementation
Example
```cpp
/*!
*
* \brief This is an N-dimensional grid or an N-dimensional array working on CPU
*
* This is an N-Dimensional grid or an N-dimensional array working on CPU
*
* \param dim Dimensionality of the grid
* \param T type of object the grid store
* \param Mem interface used to allocate memory
*
*/
template<unsigned int dim, typename T, typename Mem = typename memory_traits_lin< typename T::type >::type >
class grid_cpu
{
```
The following is the class signature for multi array, first come the class specific parameters, in this case the dimensionality of the grid, than come the Generic object that store than the Memory pool and implementation detail (Ordering is not present, but is going to change)
\ No newline at end of file
Clone repository
  • Basic objects
  • Home
  • Iterators
  • Memory mappings
  • Memory objects
  • Template order