From: Matthias Maier Date: Fri, 26 Jul 2024 07:35:26 +0000 (-0500) Subject: TravelingWaves: add copyright notices and license X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=347ec9f86dc9627299fe6654ad59b359eeca4f00;p=code-gallery.git TravelingWaves: add copyright notices and license --- diff --git a/TravelingWaves/AuxiliaryFunctions.h b/TravelingWaves/AuxiliaryFunctions.h index f773070..784809e 100644 --- a/TravelingWaves/AuxiliaryFunctions.h +++ b/TravelingWaves/AuxiliaryFunctions.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef AUXILIARY_FUNCTIONS #define AUXILIARY_FUNCTIONS diff --git a/TravelingWaves/IntegrateSystem.h b/TravelingWaves/IntegrateSystem.h index ec71494..28002ea 100644 --- a/TravelingWaves/IntegrateSystem.h +++ b/TravelingWaves/IntegrateSystem.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef INTEGRATE_SYSTEM #define INTEGRATE_SYSTEM @@ -99,4 +109,4 @@ void IntegrateSystemAtTimePoints( } -#endif \ No newline at end of file +#endif diff --git a/TravelingWaves/LimitSolution.cc b/TravelingWaves/LimitSolution.cc index 039bba7..3ded098 100644 --- a/TravelingWaves/LimitSolution.cc +++ b/TravelingWaves/LimitSolution.cc @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #include "LimitSolution.h" namespace TravelingWave @@ -72,4 +82,4 @@ namespace TravelingWave } } -} // namespace TravelingWave \ No newline at end of file +} // namespace TravelingWave diff --git a/TravelingWaves/LimitSolution.h b/TravelingWaves/LimitSolution.h index e5dcc20..767b338 100644 --- a/TravelingWaves/LimitSolution.h +++ b/TravelingWaves/LimitSolution.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef LIMIT_SOLUTION #define LIMIT_SOLUTION @@ -44,4 +54,4 @@ namespace TravelingWave } // namespace TravelingWave -#endif \ No newline at end of file +#endif diff --git a/TravelingWaves/LinearInterpolator.h b/TravelingWaves/LinearInterpolator.h index 7c2720d..f153c7c 100644 --- a/TravelingWaves/LinearInterpolator.h +++ b/TravelingWaves/LinearInterpolator.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef LINEAR_INTERPOLATOR #define LINEAR_INTERPOLATOR @@ -56,4 +66,4 @@ Number_Type LinearInterpolator::value(const Number_Type x) const return res; } -#endif \ No newline at end of file +#endif diff --git a/TravelingWaves/Parameters.cc b/TravelingWaves/Parameters.cc index 4222601..430fea5 100644 --- a/TravelingWaves/Parameters.cc +++ b/TravelingWaves/Parameters.cc @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #include "Parameters.h" namespace TravelingWave diff --git a/TravelingWaves/Parameters.h b/TravelingWaves/Parameters.h index 554a510..936ae88 100644 --- a/TravelingWaves/Parameters.h +++ b/TravelingWaves/Parameters.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef PARAMETERS #define PARAMETERS diff --git a/TravelingWaves/Solution.cc b/TravelingWaves/Solution.cc index 962334b..42433bc 100644 --- a/TravelingWaves/Solution.cc +++ b/TravelingWaves/Solution.cc @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #include "Solution.h" namespace TravelingWave @@ -87,4 +97,4 @@ namespace TravelingWave template class SolutionVectorFunction; -} // namespace TravelingWave \ No newline at end of file +} // namespace TravelingWave diff --git a/TravelingWaves/Solution.h b/TravelingWaves/Solution.h index 4bddad2..88bd22c 100644 --- a/TravelingWaves/Solution.h +++ b/TravelingWaves/Solution.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef SOLUTION #define SOLUTION @@ -64,4 +74,4 @@ namespace TravelingWave } // namespace TravelingWave -#endif \ No newline at end of file +#endif diff --git a/TravelingWaves/TravelingWaveSolver.cc b/TravelingWaves/TravelingWaveSolver.cc index cb5fd1d..cb1edfd 100644 --- a/TravelingWaves/TravelingWaveSolver.cc +++ b/TravelingWaves/TravelingWaveSolver.cc @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #include "TravelingWaveSolver.h" namespace TravelingWave diff --git a/TravelingWaves/TravelingWaveSolver.h b/TravelingWaves/TravelingWaveSolver.h index 56b0187..e5f01e0 100644 --- a/TravelingWaves/TravelingWaveSolver.h +++ b/TravelingWaves/TravelingWaveSolver.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef TRAVELING_WAVE_SOLVER #define TRAVELING_WAVE_SOLVER @@ -112,4 +122,4 @@ namespace TravelingWave } // namespace TravelingWave -#endif \ No newline at end of file +#endif diff --git a/TravelingWaves/calculate_profile.cc b/TravelingWaves/calculate_profile.cc index 21be543..212228e 100644 --- a/TravelingWaves/calculate_profile.cc +++ b/TravelingWaves/calculate_profile.cc @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #include "TravelingWaveSolver.h" #include "calculate_profile.h" @@ -273,4 +283,4 @@ namespace TravelingWave } -} // namespace TravelingWave \ No newline at end of file +} // namespace TravelingWave diff --git a/TravelingWaves/calculate_profile.h b/TravelingWaves/calculate_profile.h index 8194f99..17a9750 100644 --- a/TravelingWaves/calculate_profile.h +++ b/TravelingWaves/calculate_profile.h @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #ifndef CALCULATE_PROFILE #define CALCULATE_PROFILE @@ -27,4 +37,4 @@ namespace TravelingWave } // namespace TravelingWave -#endif \ No newline at end of file +#endif diff --git a/TravelingWaves/main.cc b/TravelingWaves/main.cc index 59431a7..ce791f2 100644 --- a/TravelingWaves/main.cc +++ b/TravelingWaves/main.cc @@ -1,3 +1,13 @@ +/* ----------------------------------------------------------------------------- + * + * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later + * Copyright (C) 2024 by Shamil Magomedov + * + * This file is part of the deal.II code gallery. + * + * ----------------------------------------------------------------------------- + */ + #include "calculate_profile.h" int main(int argc, char *argv[]) diff --git a/TravelingWaves/plot.py b/TravelingWaves/plot.py index 6c80f62..d1abdb7 100644 --- a/TravelingWaves/plot.py +++ b/TravelingWaves/plot.py @@ -1,3 +1,13 @@ +## ----------------------------------------------------------------------------- +## +## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later +## Copyright (C) 2024 by Shamil Magomedov +## +## This file is part of the deal.II code gallery. +## +## ----------------------------------------------------------------------------- +## + import numpy as np import matplotlib.pyplot as plt import os