diff --git a/AssemblerLib/SerialVectorMatrixBuilder.h b/AssemblerLib/SerialVectorMatrixBuilder.h index 1d73108ed193e0fc00d0d7df4447cd2b04e776ee..bf88cafcde8bdbeb07120b5b26d6dc4a5e06e00b 100644 --- a/AssemblerLib/SerialVectorMatrixBuilder.h +++ b/AssemblerLib/SerialVectorMatrixBuilder.h @@ -26,12 +26,14 @@ public: typedef MatrixType_ MatrixType; public: + static VectorType* createVector(const MeshComponentMap &dist_layout) { VectorType* vec = new VectorType(dist_layout.size()); return vec; } + static MatrixType* createMatrix(const MeshComponentMap &dist_layout) { MatrixType* mat = new MatrixType(dist_layout.size());