[dune-pdelab] DiscreteGridFunction of PowerGridFunctionSpace

Jö Fahlke jorrit at jorrit.de
Sat May 8 11:27:54 CEST 2010


Am Sat,  8. May 2010, 00:45:38 +0200 schrieb Christian Engwer:
> I'm trying to implement a DG Stokes code based on PDElab, which will
> serve as a starting point for a transition of my UDG Code to PDELab.
> 
> Today I managed to implement the block-structure stuff in pdelab and
> now I can create a function space like this:
> 
> v \in P_k
> p \in P_{k-1}
> 
> V_{stokes} = (P_k)^d \times P_{k-1}
> 
> Using the sub-space stuff it is quite easy to create a scalar discrete
> function for the pressure. But when I try to create a vector valued
> discrete function for the velocity (PowerGridFunctionSpace<DG-K-Space,dim>)
> I get some errors about missing typedefs in some traits etc.
> 
> - Did anybody successfully create vector valued discret functions?
> - What is the trick?

Yes, but in a different way.  In my case the basic function space is already
vector-valued, I don't construct it by taking the power of some scalar
function space.  In you case you probably need a special version of the
DiscreteGridFunction, and I don't know whether it exists yet.

Bye,
Jö.

-- 
Gute Nacht Deutschland.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20100508/e83d4900/attachment-0001.sig>


More information about the dune-pdelab mailing list