Commit b5c3cc63 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Merge branch 'master' into script_devel re-aligning with input manager

parents 9cef6470 109e56c4
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -217,8 +217,11 @@ running_stage:
   artifacts:
      paths:
         - build/cluster/c_*
         - build/cluster/D*
         - build/inclusion/c_*
         - build/inclusion/D*
         - build/sphere/c_*
         - build/sphere/D*
         #- build/trapping/*
      exclude:
         - ".git*"
@@ -233,17 +236,23 @@ running_stage:
      - cd build/libnptm
      - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH;$PWD"
      - cd ../sphere
      - echo "Testing configurator for sphere"
      - ../../src/scripts/model_maker.py ../../test_data/sphere/config_dev.yml
      - echo "Running np_sphere"
      - chmod +x np_sphere
      - OMP_NUM_THREADS=1 ./np_sphere
      - OMP_NUM_THREADS=1 ./np_sphere DEDFB DSPH .
      - cd ../cluster
      - echo "Testing configurator for cluster"
      - ../../src/scripts/model_maker.py ../../test_data/cluster/config_dev.yml
      - echo "Running np_cluster"
      - chmod +x np_cluster
      - OMP_NUM_THREADS=1 ./np_cluster
      - OMP_NUM_THREADS=1 ./np_cluster DEDFB DCLU .
      - cd ../inclusion
      - echo "Testing configurator for inclusion"
      - ../../src/scripts/model_maker.py ../../test_data/inclusion/config_dev.yml
      - echo "Running np_inclusion"
      - chmod +x np_inclusion
      - OMP_NUM_THREADS=1 ./np_inclusion
      - OMP_NUM_THREADS=1 ./np_inclusion DEDFB DINCLU .
      
testing_stage:
   stage: test

ref_data/.gitkeep

0 → 100644
+0 −0

Empty file added.

ref_data/README.md

0 → 100644
+26 −0
Original line number Diff line number Diff line
# Folder instructions

This directory contains reference data for model configuration, including, in particular, the dielectric constant files.

## Instructions

Dielectric constant files must be formatted as comma separated values, following the scheme provided by the available example files. `NPtm_code` can extract the necessary dielectric constants from these files, either by interpolating them on an arbitrary set of wavelengths, or just computing the scattering process exactly on the grid of available constants.

If the calculation uses the exact grid matching, then all the dielectric constants *must* be provided on the same set of wavelengths. This constraint does not apply to the interpolation mode, because the dielectric constants will be internally interpolated on the same grid of wavelengths. In this second case, however, it is user's responsibility that the requested wavelength range is covered by all the necessary dielectric constant data.

# License

   Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   A copy of the GNU General Public License is distributed along with
   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
+611 −0

File added.

Preview size limit exceeded, changes collapsed.

+611 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading