mod_rinit Module

Setting the first N values of a real (kind=dp) array A to zero

Note

Maybe it can be replaced by calls susch as A(1:N)=0.0d0


Uses

    • mod_datatypes

Subroutines

public subroutine rinit(n, a)

License
Creative Commons License
Category
numerical-tools, KKRhost

S e t t i n g

t h e

f i r s t

N

v a l u e s

o f

a

` r e a l

( k i n d = d p ) `

a r r a y

A

t o

z e r o

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n

Number of entries to set to zero

real(kind=dp), intent(inout), dimension(*) :: a

Array which entries will be set to zero