FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Functions/Subroutines | Variables
sprkindmodule Module Reference

Module with kind-parameters for the SPR equation solver. More...

Data Types

interface  castint
 Casting an array of integer to/from 64-bit. More...
 

Functions/Subroutines

subroutine casttoik (N, IIN, IOUT)
 Casts an array of integer from default to 64-bit kind. More...
 
subroutine castfromik (N, IIN, IOUT)
 Casts an array of integer from 64-bit to default kind. More...
 

Variables

integer, parameter ik = i8
 64-bit integer kind More...
 
integer, parameter nbik_p = 2*nbi_p
 Number of bytes per integer(ik) More...
 

Detailed Description

Module with kind-parameters for the SPR equation solver.

This module contains some integer kind parameters that are used by the SPR equation solver to facilitate easy creation of a 64-bit integer version, when needed.

Function/Subroutine Documentation

◆ castfromik()

subroutine sprkindmodule::castfromik ( integer, intent(in)  N,
integer(ik), dimension(n), intent(in)  IIN,
integer, dimension(n), intent(out)  IOUT 
)

Casts an array of integer from 64-bit to default kind.

Parameters
[in]NArray size
[in]IINInput array
[out]IOUTOutput array

◆ casttoik()

subroutine sprkindmodule::casttoik ( integer, intent(in)  N,
integer, dimension(n), intent(in)  IIN,
integer(ik), dimension(n), intent(out)  IOUT 
)

Casts an array of integer from default to 64-bit kind.

Parameters
[in]NArray size
[in]IINInput array
[out]IOUTOutput array

Variable Documentation

◆ ik

integer parameter sprkindmodule::ik = i8

64-bit integer kind

32-bit integer kind

◆ nbik_p

integer parameter sprkindmodule::nbik_p = 2*nbi_p

Number of bytes per integer(ik)