Commit f19f2f54 authored by Marcus Mohr's avatar Marcus Mohr
Browse files

Updates Trilinos stuff from createMatrix to toMatrix

parent 3f8d1839
Pipeline #34526 canceled with stages
in 73 minutes and 32 seconds
......@@ -92,7 +92,8 @@ class TrilinosSparseMatrix
{
proxy->addValue( idx, idx, 0 );
}
hyteg::petsc::createMatrix( op, numerator, numerator, proxy, level_, All );
// hyteg::petsc::createMatrix( op, numerator, numerator, proxy, level_, All );
op.toMatrix( proxy, numerator, numerator, level_, All );
crsMatrix_->fillComplete();
}
......
......@@ -115,7 +115,8 @@ void compareSparseMatrixMatlabOutput()
trilinosMatrix.applyDirichletBoundaryConditions( numerator );
trilinosMatrix.exportToMatlabFormat( "../../output/TrilinosMatlabExport.m", "MyTrilinosMatrix" );
PETScSparseMatrix< OperatorType, P2P1TaylorHoodFunction > petscMatrix( storage, level );
// PETScSparseMatrix< OperatorType, P2P1TaylorHoodFunction > petscMatrix( storage, level );
PETScSparseMatrix< OperatorType > petscMatrix( storage, level );
petscMatrix.createMatrixFromOperator( op, level, numerator );
petscMatrix.applyDirichletBC( numerator, level );
petscMatrix.print( "../../output/PetscMatlabExport.m" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment