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

Add LaplaceBase class #1385

Merged
merged 18 commits into from
Apr 29, 2021
Merged

Add LaplaceBase class #1385

merged 18 commits into from
Apr 29, 2021

Conversation

andrea-borio
Copy link
Contributor

@andrea-borio andrea-borio commented Apr 7, 2021

This PR has the objective of creating a common base class for Laplace solvers that are based on FEM and VEM.

Implement constructor and use it in LaplaceFEM and LaplaceVEM.
Update catalog.
Moved code from LaplaceVEM:implicitStepSetup(). This is done for symmetry with LaplaceFEM.
Copied code has been commented out and will be removed in a following commit.
Sphinx documentation to be checked and fixed.
@andrea-borio andrea-borio marked this pull request as ready for review April 19, 2021 15:25
@andrea-borio andrea-borio added the ci: run CUDA builds Allows to triggers (costly) CUDA jobs label Apr 26, 2021
Copy link
Contributor

@francoishamon francoishamon left a comment

Choose a reason for hiding this comment

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

Thanks @andrea-borio for the refactoring. I only added minor comments.

struct viewKeyStruct : public SolverBase::viewKeyStruct
{
dataRepository::ViewKey timeIntegrationOption = { "timeIntegrationOption" };
dataRepository::ViewKey fieldVarName = { "fieldName" };
Copy link
Contributor

Choose a reason for hiding this comment

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

Here we could use the new way

Suggested change
dataRepository::ViewKey fieldVarName = { "fieldName" };
static constexpr char const * fieldVarName() { return "fieldName"; }

to be consistent with the other solvers.

@castelletto1 castelletto1 merged commit f933ad7 into develop Apr 29, 2021
@castelletto1 castelletto1 deleted the feature/borio/LaplaceBase branch April 29, 2021 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run CUDA builds Allows to triggers (costly) CUDA jobs flag: ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants