feat(poly): added memory safty flags
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
bool isFinalized() const { return m_isFinalized; }
|
||||
|
||||
void finalize();
|
||||
void finalize(const mfem::Vector &initTheta);
|
||||
|
||||
const mfem::Array<int>& GetBlockOffsets() const { return m_blockOffsets; }
|
||||
|
||||
@@ -78,7 +78,6 @@ private:
|
||||
std::unique_ptr<mfem::ScaledOperator> m_negQ_op;
|
||||
mutable std::unique_ptr<mfem::BlockOperator> m_jacobian;
|
||||
|
||||
// TODO I think these need to be calculated in the GetGradient every time since they will always change
|
||||
mutable std::unique_ptr<mfem::SparseMatrix> m_invSchurCompliment;
|
||||
mutable std::unique_ptr<mfem::SparseMatrix> m_invNonlinearJacobian;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user