Skip to content
Snippets Groups Projects
Commit 640581ae authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Make SerialVectorMatrixBuilder create functions static.

parent 95692116
No related branches found
No related tags found
No related merge requests found
...@@ -26,12 +26,14 @@ public: ...@@ -26,12 +26,14 @@ public:
typedef MatrixType_ MatrixType; typedef MatrixType_ MatrixType;
public: public:
static
VectorType* createVector(const MeshComponentMap &dist_layout) VectorType* createVector(const MeshComponentMap &dist_layout)
{ {
VectorType* vec = new VectorType(dist_layout.size()); VectorType* vec = new VectorType(dist_layout.size());
return vec; return vec;
} }
static
MatrixType* createMatrix(const MeshComponentMap &dist_layout) MatrixType* createMatrix(const MeshComponentMap &dist_layout)
{ {
MatrixType* mat = new MatrixType(dist_layout.size()); MatrixType* mat = new MatrixType(dist_layout.size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment