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 /Dragon/src/LIBXS1.f | |
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Dragon/src/LIBXS1.f')
| -rw-r--r-- | Dragon/src/LIBXS1.f | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Dragon/src/LIBXS1.f b/Dragon/src/LIBXS1.f new file mode 100644 index 0000000..767fd5a --- /dev/null +++ b/Dragon/src/LIBXS1.f @@ -0,0 +1,44 @@ +*DECK LIBXS1 + SUBROUTINE LIBXS1(CFILNA,NEL) +* +*----------------------------------------------------------------------- +* +*Purpose: +* Initialize dimensions for depletion data with APOLIB-XSM. +* +*Copyright: +* Copyright (C) 2014 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): A. Hebert +* +*Parameters: input +* CFILNA APOLIB-XSM file name. +* +*Parameters: output +* NEL number of isotopes on library. +* +*----------------------------------------------------------------------- +* + USE GANLIB +*---- +* SUBROUTINE ARGUMENTS +*---- + CHARACTER CFILNA*(*) + INTEGER NEL +*---- +* Local variables +*---- + TYPE(C_PTR) IPAP +* + CALL LCMOP(IPAP,CFILNA,2,2,0) + CALL LCMSIX(IPAP,'PHEAD',1) + CALL LCMLEN(IPAP,'NOM',NV,ITYLCM) + NEL=NV/5 + CALL LCMSIX(IPAP,' ',2) + CALL LCMCL(IPAP,1) + RETURN + END |
