Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TravelingWaves: add copyright notices and license #197

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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