[dune-pdelab] Question on space construction

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Tue May 5 09:26:10 CEST 2015


Hi Oliver,

> Am 05.05.2015 um 06:46 schrieb Oliver Sander <sander at igpm.rwth-aachen.de>:
> 
> Dear pdelab team,
> I have a question concerning the tree construction of FE spaces in pdelab.
> In my problem,  I have two P1 FE spaces.  One is 3-valued, and the other one
> is 5-valued.  What I want is the product space of the two, so I guess I should
> use the CompositeGridFunctionSpace class.  However, I also want the resulting
> stiffness matrix to be BCRSMatrix<FieldMatrix<double,8,8> >.
> How do I do this?  Is this combination of blocking across a CompositeGFSpace
> possible at all?

yes, that works. You just keep using the EntityBlockedOrderingTag and the
ISTLVectorBackend with static blocking further up the tree (inside the CompositeGridFunctionSpace).

Steffen

> Thanks for your help,
> Oliver
> 
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150505/c832f307/attachment.sig>


More information about the dune-pdelab mailing list