stardis

Perform coupled heat transfer calculations
git clone git://git.meso-star.fr/stardis.git
Log | Files | Refs | README | LICENSE

commit e661da912899696a17c24ae86f40c8874e569fda
parent 9c0d4f50a31ee739d9aa72c38b4f96cfd869f235
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 24 Jun 2021 12:32:30 +0200

Merge remote-tracking branch 'origin/develop' into feature_randomstate_rw

Diffstat:
MREADME.md | 11+++++++++--
Mcmake/CMakeLists.txt | 4++--
Mcmake/doc/CMakeLists.txt | 2+-
Msrc/stardis-app.c | 2+-
Msrc/stardis-app.h | 2+-
Msrc/stardis-compute.c | 9++++-----
Msrc/stardis-compute.h | 2+-
Msrc/stardis-fluid.c | 2+-
Msrc/stardis-fluid.h | 2+-
Msrc/stardis-intface.c | 2+-
Msrc/stardis-intface.h | 2+-
Msrc/stardis-main.c | 2+-
Msrc/stardis-output.c | 2+-
Msrc/stardis-output.h | 2+-
Msrc/stardis-parsing.c | 4++--
Msrc/stardis-parsing.h | 2+-
Msrc/stardis-solid.c | 2+-
Msrc/stardis-solid.h | 2+-
18 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/README.md b/README.md @@ -84,4 +84,12 @@ Add radiative transfer computations. To achieve this, media gain 2 new parameter ### Version 0.1 - Allow probe computations on conductive-only thermal systems. -- Allow Dirichlet and h.dT boundary conditions. -\ No newline at end of file +- Allow Dirichlet and h.dT boundary conditions. + +## License + +Copyright (C) 2018-2021 |Meso|Star> (<contact@meso-star.com>). Stardis is free +software released under the GPL v3+ license: GNU GPL version 3 or later. You +are welcome to redistribute it under certain conditions; refer to the COPYING +file for details. + diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2020 |Meso|Star> +# Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) # # 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 @@ -71,7 +71,7 @@ configure_file(${SDIS_SOURCE_DIR}/stardis-version.h.in find_package(RCMake 0.4 REQUIRED) find_package(RSys 0.11 REQUIRED) find_package(StarGeom3D 0.1 REQUIRED) -find_package(Star3D 0.7.3 REQUIRED) +find_package(Star3D 0.8 REQUIRED) find_package(StarEnc3D 0.4.2 REQUIRED) find_package(Stardis 0.11 REQUIRED) find_package(StarSTL 0.3 REQUIRED) diff --git a/cmake/doc/CMakeLists.txt b/cmake/doc/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2020 |Meso|Star> +# Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) # # 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 diff --git a/src/stardis-app.c b/src/stardis-app.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-app.h b/src/stardis-app.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-compute.c b/src/stardis-compute.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 @@ -42,8 +42,6 @@ /******************************************************************************* * Local Functions ******************************************************************************/ - - struct filter_ctx { const struct stardis* stardis; unsigned prim; @@ -86,7 +84,8 @@ static int hit_filter (const struct s3d_hit* hit, const float ray_org[3], - const float* invalid_, /* In closest_point queries ray_dir is not informed */ + const float ray_dir[3], + const float ray_range[2], void* ray_data, void* filter_data) { @@ -98,7 +97,7 @@ hit_filter unsigned descr[SG3D_PROP_TYPES_COUNT__]; const struct stardis* stardis; - (void)ray_org; (void)invalid_; (void)filter_data; + (void)ray_org; (void)ray_dir; (void)ray_range; (void)filter_data; ASSERT(hit && filter_ctx); ASSERT(hit->uv[0] == CLAMP(hit->uv[0], 0, 1)); ASSERT(hit->uv[1] == CLAMP(hit->uv[1], 0, 1)); diff --git a/src/stardis-compute.h b/src/stardis-compute.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-fluid.c b/src/stardis-fluid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-fluid.h b/src/stardis-fluid.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-intface.c b/src/stardis-intface.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-intface.h b/src/stardis-intface.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-main.c b/src/stardis-main.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-output.c b/src/stardis-output.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-output.h b/src/stardis-output.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-parsing.c b/src/stardis-parsing.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 @@ -521,7 +521,7 @@ if(ARRAY) {\ } /* Workaround for a gcc warning when GET_OPTIONAL_TIME_RANGE used with Rank=0 */ -FINLINE int is_less(size_t a, size_t b) { return a < b; } +static FINLINE int is_less(size_t a, size_t b) { return a < b; } /* Get a time range from a coma-separated list of doubles * The first Rank values are mandatory, followed by an optional time range diff --git a/src/stardis-parsing.h b/src/stardis-parsing.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-solid.c b/src/stardis-solid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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 diff --git a/src/stardis-solid.h b/src/stardis-solid.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2020 |Meso|Star> (contact@meso-star.com) +/* Copyright (C) 2018-2021 |Meso|Star> (contact@meso-star.com) * * 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