11 REAL(KIND=8),
INTENT(IN) :: r,
z
14 INTEGER,
DIMENSION(1) :: jlg
16 hmax = maxval(mesh%hloc)
18 jlg = minloc((mesh%rr(1,:)-r)**2 + (mesh%rr(2,:)-
z)**2)
21 IF (((mesh%rr(1,n)-r)**2 + (mesh%rr(2,n)-
z)**2) .GT. hmax**2)
THEN
25 IF (n .GT. mesh%dom_np)
THEN
section doc_intro_frame_work_num_app Numerical approximation subsection doc_intro_fram_work_num_app_Fourier_FEM Fourier Finite element representation The SFEMaNS code uses a hybrid Fourier Finite element formulation The Fourier decomposition allows to approximate the problem’s solutions for each Fourier mode modulo nonlinear terms that are made explicit The variables are then approximated on a meridian section of the domain with a finite element method The numerical approximation of a function f $f f is written in the following generic z