Commit 11ebecb1 authored by akbib's avatar akbib Committed by akbib@FU-BERLIN.DE
Browse files

don't use FieldVector::size anymore, but can't use SymmetricTensor::dimension neither

[[Imported from SVN: r10886]]
parent 40865050
......@@ -41,7 +41,8 @@ public:
// Create mass matrix
// ////////////////////////////////////////////////////////////////////////
typedef FieldMatrix<double,SymmetricTensor<dim>::size, SymmetricTensor<dim>::size> BlockType;
//Blocktype is of size of the internal of a symmetric tensor, that is dim*(dim+1)/2
typedef FieldMatrix<double,dim*(dim+1)/2, dim*(dim+1)/2> BlockType;
typedef BCRSMatrix<BlockType> MassMatrixType;
typedef P1NodalBasis<typename GridType::LeafGridView,double> P1Basis;
Supports Markdown
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