Skip to content
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

ParticleTileData Interface Changes #119

Merged
merged 3 commits into from
Apr 17, 2023

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Apr 8, 2023

This keeps the legacy AoS-position-id particle layout in AMReX.

It just anticipates the changes in C++ APIs for ArrayOfStruct and (Const)ParticleTileData from AMReX-Codes/amrex#2878

@ax3l ax3l added the enhancement New feature or request label Apr 8, 2023
@ax3l ax3l requested review from atmyers and WeiqunZhang April 8, 2023 00:18
src/Particle/ParticleTile.cpp Outdated Show resolved Hide resolved
src/Particle/ParticleTile.cpp Outdated Show resolved Hide resolved
Comment on lines 134 to +136
// work-around for https://github.com/pybind/pybind11/pull/4581
//make_ArrayOfStructs<NReal, NInt, std::allocator> (m, "std");
//make_ArrayOfStructs<NReal, NInt, amrex::ArenaAllocator> (m, "arena");
//make_ArrayOfStructs<ParticleType, std::allocator> (m, "std");
//make_ArrayOfStructs<ParticleType, amrex::ArenaAllocator> (m, "arena");

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
@ax3l ax3l force-pushed the topic-new-ptd-interfaces branch 2 times, most recently from 2496779 to 1258cd9 Compare April 9, 2023 19:13
@ax3l ax3l merged commit a90fec6 into AMReX-Codes:development Apr 17, 2023
@ax3l ax3l deleted the topic-new-ptd-interfaces branch April 17, 2023 20:51
@ax3l ax3l changed the title New ParticleTileData ParticleTileData Interface Changes Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant