Skip to content

The missing sqrt(2) of some basis in Degree 2 Arnold–Winther on a triangle #508

Description

@seinXiaoWei

https://defelement.org/elements/examples/triangle-arnold-winther-2.html

I found that the dual basis \Phi_17, \Phi_18, \Phi_19, \Phi_20 should be multiplied by sqrt(2) (although several hours ago, they were \Phi_9 to \Phi_12), the others are correct. For example, l_17(\Phi_17)= sqrt(2)/2, rather than 1. This suggests the sqrt(2) is missing. The following is the matlab code.

syms x y s0
phi17=[3x(-x^2+3xy+2x-1), 9xy(x-y);
9xy*(x-y), 3y(-3xy+4*x+y^2-1)];
npn=[-sqrt(2)/2,-sqrt(2)/2]phi17[-sqrt(2)/2;-sqrt(2)/2];
f=(1-s0)*subs(npn,{x,y},{1-s0,s0});
sqrt(2)*integral(matlabFunction(f),0,1)

ans =

  0.70711

%which is equal to sqrt(2)/2, rather than 1.

Besides, I used DefElement to verify the dual basis calculated by my code, this also suggests the missing sqrt(2).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions