Skip to content

Commit

Permalink
Made sure that preferred matrix type for biphasic problems in unsymme…
Browse files Browse the repository at this point in the history
…tric.
  • Loading branch information
SteveMaas1978 committed Oct 29, 2024
1 parent e6a1885 commit 602986e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions FEBioMix/FEBiphasicSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ class FEBIOMIX_API FEBiphasicSolver : public FENewtonSolver
void GetDisplacementData(vector<double>& di, vector<double>& ui);
void GetPressureData(vector<double>& pi, vector<double>& ui);

Matrix_Type PreferredMatrixType() const override { return REAL_UNSYMMETRIC; };

public:
// additional convergence norms
double m_Dtol; //!< displacement tolerance
Expand Down
4 changes: 2 additions & 2 deletions FECore/FESolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ class FECORE_API FESolver : public FECoreBase
// return the solution vector
virtual std::vector<double> GetSolutionVector() const;

private:
Matrix_Type PreferredMatrixType() const;
protected:
virtual Matrix_Type PreferredMatrixType() const;

public: //TODO Move these parameters elsewhere
bool m_bwopt; //!< bandwidth optimization flag
Expand Down

0 comments on commit 602986e

Please sign in to comment.