]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add vector memory
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 15 Mar 2005 20:53:10 +0000 (20:53 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 15 Mar 2005 20:53:10 +0000 (20:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@10160 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/block_matrix_array_01.cc

index b70a5caa0aae76de56cc3da0ad125d49a066cc71..0f599fa2991072499623b8f3480621b735c3bcd1 100644 (file)
@@ -32,8 +32,9 @@ int main ()
   FullMatrix<double> A2(4,4);
   FullMatrix<double> B(4,3);
   FullMatrix<double> C(3,3);
+  PrimitiveVectorMemory<Vector<double> > mem;
   
-  BlockMatrixArray<FullMatrix<double> > block(2,2);
+  BlockMatrixArray<FullMatrix<double>, double> block(2,2,mem);
   
   block.enter(A1,0,0);
   block.enter(A2,0,0,2,true);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.