labmec / neopz

An object oriented finite element programming environment
http://www.labmec.org.br
33 stars 11 forks source link

TPZCylinderMap #161

Closed orlandini closed 2 years ago

orlandini commented 2 years ago

This PR finishes the implementation of the TPZCylinderMap class, which despite being in the NeoPZ library already, hadn't been tested (or even compiled, since it is a template class and it had no instantiation anywhere).

This class represents 2D elements over a cylinder's surface, and it is implemented through the idea of a reference cylinder. Therefore, the mapping is performed as (xi,eta) -> (theta, z) -> (x,y,z), where (theta, z) are the cylindrical coordinates of a given point on the element.

A Unit Test has been written and the class has been tested in a personal project.