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

[WIP] Remove static function WarpX::RefRatio #4897

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

Conversation

lucafedeli88
Copy link
Member

This PR removes the following static function from the WarpX class:

IntVect
WarpX::RefRatio (int lev)
{
    return GetInstance().refRatio(lev);
}

Most of the other changes are needed to pass the refinement ratios down to the functions that need this information. Few additional changes concern other parameters that are now passed together with the refinement ratios and which were before obtained via static methods of the warpx class.

@lucafedeli88 lucafedeli88 changed the title Remove static function WarpX::RefRatio [WIP] Remove static function WarpX::RefRatio Apr 26, 2024
@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant