Skip to content

feat: Reuse LS factorization #3654

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

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

Conversation

CusiniM
Copy link
Collaborator

@CusiniM CusiniM commented May 8, 2025

No description provided.

@CusiniM CusiniM self-assigned this May 8, 2025
@CusiniM CusiniM added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label May 8, 2025
@@ -690,6 +692,7 @@ void HydrofractureSolver< POROMECHANICS_SOLVER >::assembleSystem( real64 const t
[&]( localIndex const,
SurfaceElementSubRegion & subRegion )
{
std::cout << "Num of frac elements: " << subRegion.size() << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
std::cout << "Num of frac elements: " << subRegion.size() << std::endl;

@@ -73,6 +73,7 @@ struct LinearSolverParameters
integer dofsPerNode = 1; ///< Dofs per node (or support location) for non-scalar problems
bool isSymmetric = false; ///< Whether input matrix is symmetric (may affect choice of scheme)
integer stopIfError = 1; ///< Whether to stop the simulation if the linear solver reports an error
bool reuseFactorization = true; ///< Whether to reuse the LU factorization or not
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure where it is used

@@ -73,6 +73,7 @@ struct LinearSolverParameters
integer dofsPerNode = 1; ///< Dofs per node (or support location) for non-scalar problems
bool isSymmetric = false; ///< Whether input matrix is symmetric (may affect choice of scheme)
integer stopIfError = 1; ///< Whether to stop the simulation if the linear solver reports an error
bool reuseFactorization = true; ///< Whether to reuse the LU factorization or not
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
bool reuseFactorization = true; ///< Whether to reuse the LU factorization or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run integrated tests Allows to run the integrated tests in GEOS CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants