Skip to content

Commit

Permalink
Changed preferred matrix type for most solvers to unsymmetric.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Nov 7, 2024
1 parent a1058a8 commit 4a3114d
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FEBioFluid/FEFluidSolutesSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ class FEBIOFLUID_API FEFluidSolutesSolver : public FENewtonSolver

//! Initialize linear equation system
bool InitEquations() override;

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
//{ --- evaluation and update ---
Expand Down
3 changes: 3 additions & 0 deletions FEBioFluid/FEFluidSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class FEBIOFLUID_API FEFluidSolver : public FENewtonSolver
//! Initialize linear equation system
bool InitEquations() override;
bool InitEquations2() override;

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
//{ --- evaluation and update ---
Expand Down
3 changes: 3 additions & 0 deletions FEBioFluid/FEMultiphasicFSISolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class FEBIOFLUID_API FEMultiphasicFSISolver : public FENewtonSolver
//! Generate warnings if needed
void SolverWarnings();

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
//{ --- evaluation and update ---
//! Perform an update
Expand Down
3 changes: 3 additions & 0 deletions FEBioFluid/FEPolarFluidSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class FEBIOFLUID_API FEPolarFluidSolver : public FENewtonSolver
//! Generate warnings if needed
void SolverWarnings();

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
//{ --- evaluation and update ---
//! Perform an update
Expand Down
3 changes: 3 additions & 0 deletions FEBioFluid/FESolutesSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class FESolutesSolver : public FENewtonSolver
bool InitEquations() override;
bool InitEquations2() override;

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
//{ --- evaluation and update ---
//! Perform an update
Expand Down
3 changes: 3 additions & 0 deletions FEBioFluid/FEThermoFluidSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class FEBIOFLUID_API FEThermoFluidSolver : public FENewtonSolver
bool InitEquations() override;
bool InitEquations2() override;

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
//{ --- evaluation and update ---
//! Perform an update
Expand Down
3 changes: 3 additions & 0 deletions FEBioMix/FEMultiphasicSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class FEBIOMIX_API FEMultiphasicSolver : public FENewtonSolver
//! Generate warnings if needed
void SolverWarnings();

//! preferred matrix type should be unsymmetric.
Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
void Update(vector<double>& ui) override;

Expand Down

0 comments on commit 4a3114d

Please sign in to comment.