stardis

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

commit 15ff28f1db4e6cbf3bbe3c8d3bb6680a34c0bd03
parent 1c8a9b77247bf7778944e2fd5e8642f265a4e06b
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Tue, 31 Mar 2020 10:10:04 +0200

Fix copyright years range and license

Diffstat:
Mpp/green2xslx.pl | 15+++++++++++++++
Msrc/main.c | 15++++++++++++++-
Msrc/stardis-app.c | 15++++++++++++++-
Msrc/stardis-app.h | 15++++++++++++++-
Msrc/stardis-compute.c | 15++++++++++++++-
Msrc/stardis-compute.h | 15++++++++++++++-
Msrc/stardis-fluid.c | 15+++++++++++++++
Msrc/stardis-fluid.h | 15++++++++++++++-
Msrc/stardis-intface.c | 15+++++++++++++++
Msrc/stardis-intface.h | 15++++++++++++++-
Msrc/stardis-output.c | 15+++++++++++++++
Msrc/stardis-output.h | 15++++++++++++++-
Msrc/stardis-parsing.c | 19+++++++++++++++++--
Msrc/stardis-parsing.h | 15++++++++++++++-
Msrc/stardis-solid.c | 15+++++++++++++++
Msrc/stardis-solid.h | 15++++++++++++++-
16 files changed, 232 insertions(+), 12 deletions(-)

diff --git a/pp/green2xslx.pl b/pp/green2xslx.pl @@ -1,4 +1,19 @@ #!/usr/bin/perl +# Copyright (C) 2018-2020 |Meso|Star> +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + use strict; use warnings; diff --git a/src/main.c b/src/main.c @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com) */ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "stardis-app.h" #include "stardis-parsing.h" diff --git a/src/stardis-app.c b/src/stardis-app.c @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com) */ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "stardis-app.h" #include "stardis-output.h" diff --git a/src/stardis-app.h b/src/stardis-app.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef STARDIS_APP_H #define STARDIS_APP_H diff --git a/src/stardis-compute.c b/src/stardis-compute.c @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "stardis-app.h" #include "stardis-output.h" diff --git a/src/stardis-compute.h b/src/stardis-compute.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SDIS_COMPUTE_H #define SDIS_COMPUTE_H diff --git a/src/stardis-fluid.c b/src/stardis-fluid.c @@ -1,3 +1,18 @@ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #include "stardis-fluid.h" #include "stardis-compute.h" #include "stardis-app.h" diff --git a/src/stardis-fluid.h b/src/stardis-fluid.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SDIS_FLUID_H #define SDIS_FLUID_H diff --git a/src/stardis-intface.c b/src/stardis-intface.c @@ -1,3 +1,18 @@ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #include "stardis-intface.h" #include "stardis-app.h" #include "stardis-compute.h" diff --git a/src/stardis-intface.h b/src/stardis-intface.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SDIS_INTFACE_H #define SDIS_INTFACE_H diff --git a/src/stardis-output.c b/src/stardis-output.c @@ -1,3 +1,18 @@ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #include "stardis-output.h" #include "stardis-compute.h" #include "stardis-fluid.h" diff --git a/src/stardis-output.h b/src/stardis-output.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SDIS_OUTPUT_H #define SDIS_OUTPUT_H diff --git a/src/stardis-parsing.c b/src/stardis-parsing.c @@ -1,3 +1,18 @@ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #define _GNU_SOURCE 1 #include "stardis-parsing.h" #include "stardis-app.h" @@ -824,7 +839,7 @@ parse_args if(args->mode == UNDEF_MODE) { print_multiple_modes(buf, sizeof(buf), EXCLUSIVE_MODES | USE_STDOUT_MODES, 0); logger_print(args->logger, LOG_WARNING, - "Nothing to do. One of the following options should be used: %s", + "Nothing to do.\nOne of the following options should be used: %s\n", buf); res = RES_BAD_ARG; goto error; @@ -835,7 +850,7 @@ parse_args { print_multiple_modes(buf, sizeof(buf), GREEN_COMPATIBLE_MODES, 0); logger_print(args->logger, LOG_ERROR, - "Option -g can only be used in conjunction with: %s", + "Option -g can only be used in conjunction with: %s\n", buf); logger_print(args->logger, LOG_ERROR, "\n"); res = RES_BAD_ARG; diff --git a/src/stardis-parsing.h b/src/stardis-parsing.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef STARDIS_PARSING_H #define STARDIS_PARSING_H diff --git a/src/stardis-solid.c b/src/stardis-solid.c @@ -1,3 +1,18 @@ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #include "stardis-solid.h" #include "stardis-compute.h" #include "stardis-app.h" diff --git a/src/stardis-solid.h b/src/stardis-solid.h @@ -1,4 +1,17 @@ -/* Copyright (C) 2018 |Meso|Star> (contact@meso-star.com)*/ +/* Copyright (C) 2018-2020 |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 + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SDIS_SOLID_H #define SDIS_SOLID_H