Hello everyone,
I am trying to find which is the normal direction to a face of a tetrahedral cell or which is the tangential direction to the same cell in C++ code. I want to know this direction because i want to vanish the tangential components of the electric field. I tried the following commands:
dolfin::Face face(const Mesh& mesh, std::size_t index);
std::cout<<face.normal(std::size_t i);
The problem is that i do not understand the result that i take and i think that i do not follow the right direction. Does anyone have any idea what to do??
I am looking forward to anyone's reply,
Kostas