diff options
| author | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
|---|---|---|
| committer | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
| commit | 7dfcc480ba1e19bd3232349fc733caef94034292 (patch) | |
| tree | 03ee104eb8846d5cc1a981d267687a729185d3f3 /Utilib/src/ADDBLE.f | |
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Utilib/src/ADDBLE.f')
| -rw-r--r-- | Utilib/src/ADDBLE.f | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Utilib/src/ADDBLE.f b/Utilib/src/ADDBLE.f new file mode 100644 index 0000000..6955c9d --- /dev/null +++ b/Utilib/src/ADDBLE.f @@ -0,0 +1,36 @@ +*DECK ADDBLE + SUBROUTINE ADDBLE(NSIZE,IPOS,DSUM,DINC) +*----------------------------------------------------------------------- +* +*Purpose: +* add a double to a vector of doubles. +* +*Copyright: +* Copyright (C) 2002 Ecole Polytechnique de Montreal +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2.1 of the License, or (at your option) any later version +* +*Author(s): R. Le Tellier +* +*Parameters: input +* NSIZE size of double array. +* IPOS position in double array. +* DINC double to be added. +* +*Parameters: input/output +* DSUM double array. +* +*----------------------------------------------------------------------- +* +*---- +* SUBROUTINE ARGUMENTS +*---- + INTEGER NSIZE,IPOS + DOUBLE PRECISION DSUM(NSIZE),DINC +* + DSUM(IPOS) = DSUM(IPOS) + DINC +* + RETURN + END |
