gjp_types Module Reference

Module for defining types and precision levels for Gauss-Jacobi Polynomial (GJP) calculations. More...

Data Types

type  gjp_sparse_matrix
 Sparse representation of a Jacobi matrix. More...
 

Variables

integer, parameter, public dp = kind(0.d0)
 Define various kinds for real numbers. More...
 
integer, parameter, public hp = selected_real_kind(15)
 
integer, parameter, public qp = selected_real_kind(32)
 
integer, parameter, public sp = kind(0.)
 

Detailed Description

Module for defining types and precision levels for Gauss-Jacobi Polynomial (GJP) calculations.

This module defines various real kinds for numerical calculations in single, double, high, and quadruple precisions. It also defines a data type for sparse representation of Jacobi matrices. The module makes these types and precision levels public so they can be used in other modules and programs.

Types:

Precision Levels:

  • sp: Single Precision
  • dp: Double Precision
  • hp: High Precision
  • qp: Quadruple Precision

Variable Documentation

◆ dp

integer, parameter, public gjp_types::dp = kind(0.d0)

Define various kinds for real numbers.

Definition at line 39 of file gjp_types.f90.

39 integer, parameter :: dp = kind(0.d0), & ! double precision
40  hp = selected_real_kind(15), & ! high precision
41  qp = selected_real_kind(32), & ! quadruple precision
42  sp = kind(0.) ! single precision

◆ hp

integer, parameter, public gjp_types::hp = selected_real_kind(15)

Definition at line 39 of file gjp_types.f90.

◆ qp

integer, parameter, public gjp_types::qp = selected_real_kind(32)

Definition at line 39 of file gjp_types.f90.

◆ sp

integer, parameter, public gjp_types::sp = kind(0.)

Definition at line 39 of file gjp_types.f90.