Skip to content
Snippets Groups Projects
Commit e7c21fcf authored by Youett, Jonathan's avatar Youett, Jonathan Committed by akbib@FU-BERLIN.DE
Browse files

Make the local bases of each tangent space only count as one global (block)...

Make the local bases of each tangent space only count as one global (block) dof. This way one gets a global block structure in the tangential stiffness matrix. Note that now the local assemblers have to know this special local structure.

[[Imported from SVN: r7938]]
parent 05068f5d
No related branches found
No related tags found
No related merge requests found
...@@ -69,19 +69,18 @@ public: ...@@ -69,19 +69,18 @@ public:
delete(lfe_); delete(lfe_);
} }
/** \brief Get the total number of global basis functions. /** \brief Get the total number of global (block) basis functions.
* * Only return the number of Lagrange points. For each Lagrange point there are (tangentDim) local shape functions
* For each Lagrange point there are (dim TangentSpace) basis functions
*/ */
int size() const int size() const
{ {
return basis_.size()*tangentDim; return basis_.size();
} }
/** \brief Get the global index of the basis function. */ /** \brief Get the global index of the (block) basis function. */
int index(const Element& e, const int i) const int index(const Element& e, const int i) const
{ {
return basis_.index(e,i/tangentDim)*tangentDim + (i%tangentDim); return basis_.index(e,i);
} }
......
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