Hi Jain,
"If I have a discontinuous(across element interface) distribution of var, then what has been done during the above procedure?"
- You have projected your variable/field on CG Field. i.e. introduced C0 continuity across boundaries of the element.
- You projected your field on a field which has C0 continuity at element boundaries.
Example:
-Let us assume your var is a piece-wise p1(eg:3) degree polynomial. Exactly dis-continuous at element boundaries.
- Let us assume you are projecting your var on a field of p1.
- if you would have used MultiRegions::DisContField2D. The two operations would not have affected your variable. .i.e. var = var_smooth, var_smooth is C^{-1}(dis-cont) at element boundaries and p1 polynomial inside each element.
- Since you have used MultiRegions::ContField2D, Your var_Smooth has C0 continuity and you have p1 polynomial inside each element, but var != var_smooth. (Since you have reduced the degree of freedom).
The best section to read in the book would be section 2.2 from page 21.
Ashok.