Commit Graph

210 Commits

Author SHA1 Message Date
Michele Guerini Rocco
1648a7878a
src/gray_params.f90: handle file not found error 2021-12-15 02:30:53 +01:00
Michele Guerini Rocco
023facac6b
src/gray_params.f90: formatting 2021-12-15 02:30:52 +01:00
Michele Guerini Rocco
75c30ee834
move manual into a doc subdirectory 2021-12-15 02:30:51 +01:00
Michele Guerini Rocco
cb873fbcf6
src/multipass.f90: fix file mode 2021-12-15 02:30:50 +01:00
Michele Guerini Rocco
f58a8ba308
add Nix package 2021-12-15 02:30:49 +01:00
Michele Guerini Rocco
1a7db631de
actually use the configure script 2021-12-15 02:30:48 +01:00
Michele Guerini Rocco
8dfb214ea0
scripts: make shebangs more portable
Use env to find the interpreter instead of a hard-coded path.
2021-12-15 02:30:47 +01:00
Michele Guerini Rocco
f16471aad4
configure: fix several shellcheck warnings 2021-12-15 02:30:45 +01:00
ad7852d9c2
rework the build system
- unify the three makefiles into a single generic one

- automatically generate link targets (via the `depend` script)
  and object dependencies (via a make rule)

- move all build artifacts under the build/ directory

- replace svn with git for the version information

- add a `static` variable to toggle between static/shared builds

- add a target to build the dependency graph of GRAY modules
2021-12-10 16:21:31 +01:00
3a9fb6539f Small changes in configure log messages 2021-11-19 12:56:31 +00:00
ecadacc2c1 more descriptive title in man page 2020-03-06 10:50:24 +00:00
81e1190bf8 added templates for analytical equilibrium/profiles input files 2020-03-06 10:49:23 +00:00
4bb3841049 Modified test in density extrapolation at boundary 2020-03-06 10:48:12 +00:00
6892646623 updated makefile, added manpage, fixed few print statements 2019-12-09 14:49:37 +00:00
Daniele Micheletti
7609640347 trunk/graycore: fix to coupling calculation for on-screen print 2019-03-28 11:33:43 +00:00
Daniele Micheletti
f600108884 trunk/graycore: minor fixes 2019-03-28 09:50:28 +00:00
Daniele Micheletti
27f1793f14 trunk: added multiple passes calculation; added multipass module; graycore/gray_main: subroutine rewritten; equilibrium/read_equil_an: limiter coordinates read from equilibrium file for ipass>1; err_codes/check_err: istop=1 only for alpha<0; pec/pec_tab: fixed index assignements in loops; polarization/pol_limit: fixed ext,eyt normalization 2019-03-26 14:21:22 +00:00
Daniele Micheletti
7a8b66d726 trunk: fixed Makefile.sum 2018-10-04 08:00:50 +00:00
Daniele Micheletti
2c46d3327e trunk/beams: fix to alpha0 value if outside table range in read_beam1 2018-09-26 12:58:54 +00:00
9fcc54804f added re-normalization of Pins and Currins in spec subroutine 2017-09-19 16:32:53 +00:00
d8fc72dd3e re-added routines to sum profiles (removed by mistake in rev 176) 2017-09-13 09:31:30 +00:00
0b3ea8991e added further output prints to fort.4 2017-09-12 19:37:06 +00:00
d92335c476 added routines to sum profiles from multiple runs 2017-06-27 14:30:07 +00:00
Daniele Micheletti
5b44c46e70 trunk/dispersion: added npra2 re-initialization if convergence fails 2017-06-21 09:16:10 +00:00
4f0cc7fb47 fixed wrong psi assignment if input profiles are given vs rhot. Added comment for ieccd flag in gray_params.data 2017-02-10 14:14:53 +00:00
526870458f fixed rhot print in central ray output (fort.4) 2017-02-10 10:41:24 +00:00
Daniela Farina
e2fac977ab fixed check for N// > 1 (bis) 2017-02-01 11:32:27 +00:00
Daniela Farina
72b682229c fixed check for N// > 1 2017-02-01 11:06:09 +00:00
4a2b5fc638 added missing allocation for simple limiter (when it is not read from eqdsk) 2016-12-19 16:38:07 +00:00
0f2ff9a5a7 fix: missing allocation for profiles given vs rhot 2016-11-29 08:45:18 +00:00
5156f94f73 updated rev number in Makefile for JETTO 2016-06-09 08:27:45 +00:00
Daniele Micheletti
feaa736c0e fixed e330 calculation in dispersion module (trunk) 2016-06-09 07:41:23 +00:00
Daniele Micheletti
bede98b0ae fixed incompatibilities with allocatable arrays (pgf90 compiler, JETTO); fixed input/output scaling (gray/jetto interface); fixed error in read_beams2 for small beam tables 2016-06-01 13:49:35 +00:00
d7b09b92a2 added file headers with input parameters 2016-04-27 14:37:57 +00:00
a5199b1b24 some additional output prints (2D maps and Bcart, Ncart along central ray) 2016-02-12 16:49:00 +00:00
Daniele Micheletti
33f9dd6130 fixed bug in read_beams2 to correctly locate the position of a point outside the beam grid 2016-02-09 11:18:47 +00:00
e89b0730ca removed obsolete branches; added templates for input files in trunk/input and branches/refl/input 2016-01-26 10:32:29 +00:00
88740ab232 Fixed computation of warm Nperp for low density 2016-01-25 11:37:17 +00:00
7654679ae1 fixed error code for bad warm Nperp 2015-12-04 15:47:05 +00:00
1cd0503476 fixed compilation for JETTO 2015-11-25 15:53:22 +00:00
59617c7a06 gray/jetto interface reverted to F77 (removed use of modules), adding an intermediate F90 subroutine handling the reading of parameters/beams files. pec_init now uses optional input rho grid 2015-11-24 16:36:20 +00:00
46e36a5792 re-added missing output files, file units specified in dedicated module, added option iequil=3 for partially filled psi(R,z) grid on input: required for integration in JETTO 2015-11-23 17:55:27 +00:00
68e8217ff3 * reduced arrays required for dI/ds,dP/ds integration
* new module for error handling
* input parameters collected in a single file
* fixed uninitialized pabs,icd
2015-11-19 18:20:58 +00:00
Daniela Farina
f3fb3962d1 updated prfile subr, added comments and minor changes in ic_gb 2015-11-19 17:44:17 +00:00
ce10204479 nocommon branch merged back into trunk 2015-11-18 16:34:33 +00:00
Daniela Farina
9eb901015e corrected a bug in fwork for dbgr and in ic_gb for ypwrk0 2015-11-04 10:21:50 +00:00
Daniela Farina
75b77b01c1 frhotor_eq now is a function of rhop 2015-06-09 17:09:53 +00:00
a0275d8691 corrected merge errors in trunk. branch new-refl integrated in trunk and removed 2015-05-21 14:29:16 +00:00
c38f57b640 branch new-equinum reintegrated in trunk 2015-05-21 14:14:38 +00:00
Daniela Farina
94ed9ea51e new equinum and equian merged in branch new-equinum. branch new-equian removed 2015-05-21 13:23:26 +00:00