kinds_mod Module

Module to manage real kinds and basic constants

Used By

module~~kinds_mod~~UsedByGraph module~kinds_mod kinds_mod module~objective_mod objective_mod module~kinds_mod->module~objective_mod program~logo_prg logo_prg module~kinds_mod->program~logo_prg module~treeexponential_mod treeExponential_mod module~kinds_mod->module~treeexponential_mod program~basic_prg basic_prg module~kinds_mod->program~basic_prg module~plplotlib_mod plplotlib_mod module~kinds_mod->module~plplotlib_mod module~treeoperator_mod treeOperator_mod module~kinds_mod->module~treeoperator_mod module~node_mod node_mod module~kinds_mod->module~node_mod module~expression_mod expression_mod module~kinds_mod->module~expression_mod module~vtkio_mod vtkIO_mod module~kinds_mod->module~vtkio_mod module~treevalue_mod treeValue_mod module~kinds_mod->module~treevalue_mod module~treetrigonometric_mod treeTrigonometric_mod module~kinds_mod->module~treetrigonometric_mod module~netcdf_mod netCDF_mod module~kinds_mod->module~netcdf_mod module~config_mod config_mod module~kinds_mod->module~config_mod module~time_mod time_mod module~kinds_mod->module~time_mod module~mesh_mod mesh_mod module~kinds_mod->module~mesh_mod module~iterate_mod iterate_mod module~kinds_mod->module~iterate_mod program~testtime_prg testTime_prg module~kinds_mod->program~testtime_prg program~teststats_prg testStats_prg module~kinds_mod->program~teststats_prg program~testconfig_prg testConfig_prg module~kinds_mod->program~testconfig_prg module~stats_mod stats_mod module~kinds_mod->module~stats_mod program~testvtkio_prg testVtkIO_prg module~kinds_mod->program~testvtkio_prg module~array_mod array_mod module~kinds_mod->module~array_mod program~testfourier_prg testFourier_prg module~kinds_mod->program~testfourier_prg module~spline_mod spline_mod module~kinds_mod->module~spline_mod program~testarray_prg testArray_prg module~kinds_mod->program~testarray_prg module~optimize_mod optimize_mod module~kinds_mod->module~optimize_mod program~testmatio_prg testMatIO_prg module~kinds_mod->program~testmatio_prg module~fourier_mod fourier_mod module~kinds_mod->module~fourier_mod program~testspline_prg testSpline_prg module~kinds_mod->program~testspline_prg module~autodifftype_mod autoDiffType_mod module~kinds_mod->module~autodifftype_mod program~testtensor_prg testTensor_prg module~kinds_mod->program~testtensor_prg program~testautodiff_prg testAutoDiff_prg module~kinds_mod->program~testautodiff_prg module~autodiffexponential_mod autoDiffExponential_mod module~kinds_mod->module~autodiffexponential_mod program~testsparse_prg testSparse_prg module~kinds_mod->program~testsparse_prg module~autodiff_mod autoDiff_mod module~kinds_mod->module~autodiff_mod program~testkinds_prg testKinds_prg module~kinds_mod->program~testkinds_prg module~tensor_mod tensor_mod module~kinds_mod->module~tensor_mod program~testquaternion_prg testQuaternion_prg module~kinds_mod->program~testquaternion_prg module~autodiffoperator_mod autoDiffOperator_mod module~kinds_mod->module~autodiffoperator_mod program~testeval_prg testEval_prg module~kinds_mod->program~testeval_prg module~autodifftrigonometric_mod autoDiffTrigonometric_mod module~kinds_mod->module~autodifftrigonometric_mod program~testoptimize_prg testOptimize_prg module~kinds_mod->program~testoptimize_prg module~autodiffarray_mod autoDiffArray_mod module~kinds_mod->module~autodiffarray_mod program~testmesh_prg testMesh_prg module~kinds_mod->program~testmesh_prg module~solvers_mod solvers_mod module~kinds_mod->module~solvers_mod program~testiterate_prg testIterate_prg module~kinds_mod->program~testiterate_prg module~basicsolvers_mod basicSolvers_mod module~kinds_mod->module~basicsolvers_mod program~testtext_prg testText_prg module~kinds_mod->program~testtext_prg module~text_mod text_mod module~kinds_mod->module~text_mod program~testnetcdf_prg testNetCDF_prg module~kinds_mod->program~testnetcdf_prg module~sparse_mod sparse_mod module~kinds_mod->module~sparse_mod program~examples_prg examples_prg module~kinds_mod->program~examples_prg program~animate_prg animate_prg module~kinds_mod->program~animate_prg module~quaternion_mod quaternion_mod module~kinds_mod->module~quaternion_mod module~objective_mod->program~testoptimize_prg module~treeexponential_mod->module~expression_mod module~plplotlib_mod->module~objective_mod module~plplotlib_mod->program~logo_prg module~plplotlib_mod->program~basic_prg module~plplotlib_mod->program~testspline_prg module~plplotlib_mod->program~testsparse_prg module~plplotlib_mod->program~testeval_prg module~plplotlib_mod->program~examples_prg module~plplotlib_mod->program~animate_prg module~treeoperator_mod->module~expression_mod module~node_mod->module~treeexponential_mod module~node_mod->module~treeoperator_mod module~node_mod->module~expression_mod module~node_mod->module~treevalue_mod module~node_mod->module~treetrigonometric_mod module~expression_mod->program~testeval_prg module~vtkio_mod->program~testvtkio_prg module~treevalue_mod->module~expression_mod module~treetrigonometric_mod->module~expression_mod module~netcdf_mod->program~testnetcdf_prg module~config_mod->program~testconfig_prg module~time_mod->program~testtime_prg module~time_mod->module~solvers_mod module~time_mod->program~testiterate_prg module~time_mod->module~text_mod module~mesh_mod->program~testmesh_prg module~iterate_mod->program~testiterate_prg module~stats_mod->program~teststats_prg module~array_mod->module~objective_mod module~array_mod->program~logo_prg module~array_mod->program~basic_prg module~array_mod->module~plplotlib_mod module~array_mod->program~testvtkio_prg module~array_mod->module~spline_mod module~array_mod->program~testarray_prg module~array_mod->module~optimize_mod module~array_mod->program~testspline_prg module~array_mod->program~testsparse_prg module~array_mod->program~testeval_prg module~array_mod->program~testnetcdf_prg module~array_mod->module~sparse_mod module~array_mod->program~examples_prg module~array_mod->program~animate_prg module~spline_mod->program~testspline_prg module~optimize_mod->module~objective_mod module~optimize_mod->program~testoptimize_prg module~fourier_mod->program~testfourier_prg module~autodifftype_mod->module~autodiffexponential_mod module~autodifftype_mod->module~autodiff_mod module~autodifftype_mod->module~autodiffoperator_mod module~autodifftype_mod->module~autodifftrigonometric_mod module~autodifftype_mod->module~autodiffarray_mod module~autodiffexponential_mod->module~autodiff_mod module~autodiff_mod->program~testautodiff_prg module~tensor_mod->program~testtensor_prg module~tensor_mod->module~quaternion_mod module~autodiffoperator_mod->module~autodiff_mod module~autodiffoperator_mod->module~autodiffarray_mod module~autodifftrigonometric_mod->module~autodiff_mod module~autodiffarray_mod->module~autodiff_mod module~solvers_mod->program~testsparse_prg module~basicsolvers_mod->program~testsparse_prg module~text_mod->module~objective_mod module~text_mod->module~plplotlib_mod module~text_mod->module~node_mod module~text_mod->module~config_mod module~text_mod->module~solvers_mod module~text_mod->program~testiterate_prg module~text_mod->module~basicsolvers_mod module~text_mod->program~testtext_prg module~sparse_mod->program~testsparse_prg module~sparse_mod->module~solvers_mod module~sparse_mod->module~basicsolvers_mod module~quaternion_mod->program~testquaternion_prg
Help


Variables

TypeVisibility AttributesNameInitial
integer, public, parameter:: sp =selected_real_kind(6)

Single precision

integer, public, parameter:: dp =selected_real_kind(15)

Double precision

integer, public, parameter:: ep =selected_real_kind(18)

Extended precision

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

Quad precision

integer, public, parameter, dimension(4):: rkinds =[sp, dp, ep, qp]

List of real kinds

integer, public, parameter:: wp =dp

Set working precision to double

real(kind=wp), public, parameter:: PI =4.0_wp*atan(1.0_wp)

Archimedes' constant

real(kind=wp), public, parameter:: E =exp(1.0_wp)

Euler's constant


Functions

public elemental function arg(z) result(v)

Compute the argument of a complex number

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: z

Return Value real(kind=wp)


Subroutines

public subroutine printTypes()

Print the integer kinds for each real type

Arguments

None