Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

The structure of 'VectorL2()' in the cpp document

More
2 years 11 months ago #3677 by Younghigh
Hi,

In DG methods, we set a quadrilateral mesh like this:
Code:
mesh = ngm.MakeStructured2DMesh(quads=True, nx=10, ny=10) V = VectorL2(mesh, order=3, dgjumps=True)
In fact, we want to add some vector basis to the vector space V. So it is essential to know how the vector basis is composited in V. I guess it hides in one core documents but cannot find it.


Best,
Di Yang
More
2 years 11 months ago #3678 by Younghigh
PS:
For example, like BDM element in a rectangle, one adds two vector basis ( -x**{k+1}, (k+1)*x**k*y ) and ( (k+1)*x*y**k, -y**{k+1} ) to the standard Pk*Pk.
Now, we want to add ( -x**{k+1}, (k+1)*x**k*y ) and ( (k+1)*x*y**k, -y**{k+1} ) to Qk*Qk element-by-element in a quadrilateral mesh. How can we finish it ? I know it is a tricky work.
Time to create page: 0.157 seconds