#include "petscdmplex.h" #include "petscfe.h" PetscErrorCode DMPlexComputeProjection3Dto1D(PetscScalar coords[], PetscReal R[])Not collective
coords | - The coordinates of a segment |
coords | - The new y-coordinate, and 0 for x and z | |
R | - The rotation which accomplishes the projection |
Note: This uses the basis completion described by Frisvad in http://www.imm.dtu.dk/~jerf/papers/abstracts/onb.html, DOI:10.1080/2165347X.2012.689606