-
Notifications
You must be signed in to change notification settings - Fork 21
ParticleContainer: Split #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
// ParticleTileType& DefineAndReturnParticleTile (int lev, int grid, int tile) | ||
// { | ||
// m_particles[lev][std::make_pair(grid, tile)].define(NumRuntimeRealComps(), NumRuntimeIntComps()); | ||
// return ParticlesAt(lev, grid, tile); | ||
// } | ||
// template <class Iterator> | ||
// ParticleTileType& DefineAndReturnParticleTile (int lev, const Iterator& iter) | ||
// { | ||
// auto index = std::make_pair(iter.index(), iter.LocalTileIndex()); | ||
// m_particles[lev][index].define(NumRuntimeRealComps(), NumRuntimeIntComps()); | ||
// return ParticlesAt(lev, iter); | ||
// } |
Check notice
Code scanning / CodeQL
Commented-out code
// const Vector<std::string>& int_comp_names) const; | ||
// void WritePlotFilePre (); | ||
|
||
// void WritePlotFilePost (); |
Check notice
Code scanning / CodeQL
Commented-out code
// Long NumberOfParticlesAtLevel (int level, bool only_valid = true, bool only_local = false) const; | ||
.def("NumberOfParticlesAtLevel", &ParticleContainerType::NumberOfParticlesAtLevel, | ||
py::arg("level"), py::arg("only_valid")=true, py::arg("only_local")=false) | ||
// Vector<Long> NumberOfParticlesInGrid (int level, bool only_valid = true, bool only_local = false) const; |
Check notice
Code scanning / CodeQL
Commented-out code
.def("ByteSpread",&ParticleContainerType::ByteSpread) | ||
.def("PrintCapacity", &ParticleContainerType::PrintCapacity) | ||
.def("ShrinkToFit", &ParticleContainerType::ShrinkToFit) | ||
// Long NumberOfParticlesAtLevel (int level, bool only_valid = true, bool only_local = false) const; |
Check notice
Code scanning / CodeQL
Commented-out code
// void InitFromAsciiFile (const std::string& file, int extradata, | ||
// const IntVect* Nrep = nullptr); | ||
|
||
// void InitFromBinaryFile (const std::string& file, int extradata); |
Check notice
Code scanning / CodeQL
Commented-out code
// ParticleContainer ( ParticleContainer && ) = default; | ||
// ParticleContainer& operator= ( ParticleContainer && ) = default; |
Check notice
Code scanning / CodeQL
Commented-out code
// ParticleContainer ( const ParticleContainer &) = delete; | ||
// ParticleContainer& operator= ( const ParticleContainer & ) = delete; |
Check notice
Code scanning / CodeQL
Commented-out code
>; | ||
using ParticleInitData = typename ParticleContainerType::ParticleInitData; | ||
using ParticleTileType = typename ParticleContainerType::ParticleTileType; | ||
//using AoS = typename ParticleContainerType::AoS; |
Check notice
Code scanning / CodeQL
Commented-out code
Split specializations for faster, more resource efficient compiles that can be parallelized.
Split specializations for faster, more resource efficient compiles that can be parallelized.