CorbinFoucart / FEMexperiment

Numerical experiments and tools for different finite element solvers
MIT License
1 stars 0 forks source link

mk_nodal_pts cleanup #3

Open CorbinFoucart opened 6 years ago

CorbinFoucart commented 6 years ago

This method is horrifying and needs to be split up / cleaned up. For one thing, there should be an option to shift the points or not. Doing complicated geometric shifts by default is not ideal -- many use cases involve low order schemes where this is totally unnecessary. Note that the reasoning for moving these points is that it prevents the Vandermonde matrix from becoming ill-conditioned at high order.

CorbinFoucart commented 6 years ago

This is partially resolved by re-writing the class for the 1D master element.

CorbinFoucart commented 6 years ago

It still remains to re-organize the 2D and 3D master elements for the same purpose, which will make additional tutorials.

CorbinFoucart commented 6 years ago

This is now done for 2D triangles with barycentric coords functions.

CorbinFoucart commented 6 years ago

Warped nodes for 2D triangles now done.