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

Fix a runtime parameter issue in time-averaged diagnostics #5753

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

WeiqunZhang
Copy link
Member

@WeiqunZhang WeiqunZhang commented Mar 11, 2025

Use utils::parser::queryWithParser instead of vanilla amrex::Parser, because latter does not know WarpX's constants unless it's informed.

Fix #5751

Use utils::parser::queryWithParser instead of vanilla amrex::Parser, because
latter does not know WarpX's constants unless it's informed.
@WeiqunZhang WeiqunZhang linked an issue Mar 11, 2025 that may be closed by this pull request
@WeiqunZhang WeiqunZhang requested a review from ax3l March 11, 2025 15:26
@ax3l ax3l added bug Something isn't working bug: affects latest release Bug also exists in latest release version component: diagnostics all types of outputs labels Mar 11, 2025
@ax3l ax3l self-assigned this Mar 11, 2025
const bool averaging_period_time_specified = pp_diag_name.queryWithParser(
"average_period_time", m_average_period_time
);
const bool averaging_period_time_specified = utils::parser::queryWithParser
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary work-around until we have #5254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: diagnostics all types of outputs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Constant clight not recognized
2 participants