zhaoweiliu / dealii_catmull_clark

Other
0 stars 1 forks source link

Can TensorProduct polynomials works with two vectors of polynomials? #3

Open zhaoweiliu opened 4 years ago

zhaoweiliu commented 4 years ago

"Given a vector of n one-dimensional polynomials P1 to Pn, this class generates ndim polynomials of the form Qijk(x,y,z) = Pi(x)Pj(y)Pk(z). If the base polynomials are mutually orthogonal on the interval [-1,1] or [0,1], then the tensor product polynomials are orthogonal on [-1,1]dim or [0,1]dim, respectively.

Indexing is as follows: the order of dim-dimensional polynomials is x-coordinates running fastest, then y-coordinate, etc. The first few polynomials are thus P1(x)P1(y), P2(x)P1(y), P3(x)P1(y), ..., P1(x)P2(y), P2(x)P2(y), P3(x)P2(y), ... and likewise in 3d."

Can it works with two vectors of polynomials, such as Oij(xy) = Pi(x)Qj(y)?

zhaoweiliu commented 4 years ago

https://www.dealii.org/developer/doxygen/deal.II/classTensorProductPolynomials.html#ad84eaac16a38d48f9eb163590d895fd2