ORB5  4.00
Loading...
Searching...
No Matches
pdespline.F90 File Reference
#include "precomp.h"
Include dependency graph for pdespline.F90:

Data Types

interface  pdespline::rebase

Modules

module  pdespline
 Module containing B-spline utilities for solvers.

Functions/Subroutines

subroutine, public pdespline::initpde (nidbas, ns_, ds_, smin_, nchi_, dchi_, nphip_, dphi_, mmin_, mmax_, iquafor)
 Initialize the module.
real(kind=r8) function, dimension(0:ppdespline::splines (z)
 Evaluate basis functions on point z in interval [0, 1].
subroutine, public pdespline::analytical_rhs (rhs)
 Project an analytical function on B-splines.
real(kind=r8) function analytical_function (ps, pchi, pphi)
 Analytical function of s, chi and phi.
subroutine pdespline::rebase_r1d (v, nsel_which_mat)
 Multiply v by a boundary change of basis matrix.
subroutine pdespline::rebase_r2d (v, nsel_which_mat)
 Call rebase_r1d for each index of second dimension of v.
subroutine pdespline::rebase_c1d (v, nsel_which_mat)
 Complex version of rebase_r1d.
subroutine pdespline::rebase_c2d (v, nsel_which_mat)
 Call rebase_c1d for each index of second dimension of v.
subroutine, public pdespline::impose_bc (v)
 Impose boundary conditions on a vector before backsolve.
real(kind=r8) function pdespline::func_int_base (zs, zj)
 Flux surface average of theta basis function.

Variables

integer, save, public pdespline::width_f
 Total width of diagonal filter as defined using mmin_f and mmax_f in the def_matrix_filter subroutine. Note that it may differ from width_m defined using the filter array.
integer, save, public pdespline::nbmatf
 number of matrix per proc
integer, save pdespline::p
 Spline order.
integer, save pdespline::nsupp
 support in number of intervals of the spline function
integer, dimension(:), allocatable, save pdespline::nlocad
 local 1D addresses of contributions of one spline function
integer, save pdespline::ns
 Number of intervals in radial direction.
real(kind=r8), save pdespline::ds
 Mesh size in radial direction.
real(kind=r8), save pdespline::smin
 Lower bound of radial direction.
integer, save pdespline::nchi
 Number of intervals in poloidal direction.
real(kind=r8), save pdespline::dchi
 Mesh size in poloidal direction.
integer, save pdespline::nphip
 Number of local intervals in toroidal direction.
real(kind=r8), save pdespline::dphi
 Mesh size in toroidal direction.
integer, dimension(:,:), allocatable, save pdespline::mmin
 minimum m value for Fourier solver
integer, dimension(:,:), allocatable, save pdespline::mmax
 maximum m value for Fourier solver
real(kind=r8), dimension(:), allocatable, save pdespline::splines_g
 basis functions at grid points
real(kind=r8), dimension(:,:), allocatable, save pdespline::splines_q
 basis functions at quadrature points
real(kind=r8), dimension(10), save pdespline::zqp
 Quadrature points.
real(kind=r8), dimension(10), save pdespline::zqw
 Quadrature weights.
integer, save pdespline::nq
 Number of quadrature points.
real(kind=r8), dimension(:,:), allocatable, save, public pdespline::zwavg
 Weight function surface average.

Function/Subroutine Documentation

◆ analytical_function()

real(kind=r8) function analytical_rhs::analytical_function ( real(kind=r8), intent(in) ps,
real(kind=r8), intent(in) pchi,
real(kind=r8), intent(in) pphi )

Analytical function of s, chi and phi.

Here is the call graph for this function:
Here is the caller graph for this function: