-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix 'pure virtual method called' error #774
fix 'pure virtual method called' error #774
Conversation
Bumps [extern/amrex](https://github.com/AMReX-Codes/amrex) from `74127d6` to `6d9c25b`. - [Release notes](https://github.com/AMReX-Codes/amrex/releases) - [Commits](AMReX-Codes/amrex@74127d6...6d9c25b) --- updated-dependencies: - dependency-name: extern/amrex dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@BenWibking This solves the problem, although I don't understand exactly why. It seems like the cause of the error is because |
Ok, that makes sense. The issue is that global objects are destroyed after We don't want to re-read the file for each grid, though, so we still need to do this inside |
You can move the variables into
The only difference is that you need a |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
|
@BenWibking @markkrumholz Should be ready to merge. |
Description
Move
DeviceVector
insidesetInitialConditionsOnGrid
to avoid thepure virtual method called
error, first seen in #761 .This branch is based on dependabot/submodules/extern/amrex-6d9c25b .
Related issues
Fix issues in PR #761
Checklist
Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an
x
inside the square brackets[ ]
in the Markdown source below:/azp run
.