Skip to content

Commit

Permalink
Merge pull request #197 from tamiko/update_copyright_headers_2
Browse files Browse the repository at this point in the history
TravelingWaves: add copyright notices and license
  • Loading branch information
marcfehling authored Jul 26, 2024
2 parents a03e733 + 347ec9f commit 26c7287
Show file tree
Hide file tree
Showing 15 changed files with 159 additions and 9 deletions.
10 changes: 10 additions & 0 deletions TravelingWaves/AuxiliaryFunctions.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 11 additions & 1 deletion TravelingWaves/IntegrateSystem.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -99,4 +109,4 @@ void IntegrateSystemAtTimePoints(

}

#endif
#endif
12 changes: 11 additions & 1 deletion TravelingWaves/LimitSolution.cc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -72,4 +82,4 @@ namespace TravelingWave
}
}

} // namespace TravelingWave
} // namespace TravelingWave
12 changes: 11 additions & 1 deletion TravelingWaves/LimitSolution.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -44,4 +54,4 @@ namespace TravelingWave

} // namespace TravelingWave

#endif
#endif
12 changes: 11 additions & 1 deletion TravelingWaves/LinearInterpolator.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -56,4 +66,4 @@ Number_Type LinearInterpolator<Number_Type>::value(const Number_Type x) const
return res;
}

#endif
#endif
10 changes: 10 additions & 0 deletions TravelingWaves/Parameters.cc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 10 additions & 0 deletions TravelingWaves/Parameters.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 11 additions & 1 deletion TravelingWaves/Solution.cc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -87,4 +97,4 @@ namespace TravelingWave

template class SolutionVectorFunction<Interpolant>;

} // namespace TravelingWave
} // namespace TravelingWave
12 changes: 11 additions & 1 deletion TravelingWaves/Solution.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -64,4 +74,4 @@ namespace TravelingWave

} // namespace TravelingWave

#endif
#endif
10 changes: 10 additions & 0 deletions TravelingWaves/TravelingWaveSolver.cc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 11 additions & 1 deletion TravelingWaves/TravelingWaveSolver.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -112,4 +122,4 @@ namespace TravelingWave

} // namespace TravelingWave

#endif
#endif
12 changes: 11 additions & 1 deletion TravelingWaves/calculate_profile.cc
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -273,4 +283,4 @@ namespace TravelingWave

}

} // namespace TravelingWave
} // namespace TravelingWave
12 changes: 11 additions & 1 deletion TravelingWaves/calculate_profile.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -27,4 +37,4 @@ namespace TravelingWave

} // namespace TravelingWave

#endif
#endif
10 changes: 10 additions & 0 deletions TravelingWaves/main.cc
Original file line number Diff line number Diff line change
@@ -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[])
Expand Down
10 changes: 10 additions & 0 deletions TravelingWaves/plot.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 26c7287

Please sign in to comment.