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

Update copyright headers #171

Merged
merged 21 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
16 changes: 12 additions & 4 deletions CeresFE/src/ceres.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
/*
Viscoelastoplastic relaxation of Ceres
Author: Roger R. Fu
Adapted from Fu et al. 2014 Icarus 240, 133-145 starting Oct. 19, 2014
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2012 by Roger R. Fu
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*
* Viscoelastoplastic relaxation of Ceres
* Author: Roger R. Fu
* Adapted from Fu et al. 2014 Icarus 240, 133-145 starting Oct. 19, 2014
*/

/*
Expand Down
18 changes: 12 additions & 6 deletions CeresFE/support_code/ellipsoid_grav.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@

/*
Started 10/8/2012, R. R. Fu

Reference Pohanka 2011, Contrib. Geophys. Geodes.

/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2012 by Roger R. Fu
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*
* Author: Roger R. Fu
* Reference Pohanka 2011, Contrib. Geophys. Geodes.
*/

#include <math.h>
#include <deal.II/base/point.h>
#include <fstream>
Expand Down
10 changes: 10 additions & 0 deletions Distributed_LDG_Method/Functions.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2017 by Michael Harmon
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

// @sect3{Functions.cc}
// In this file we keep right hand side function, Dirichlet boundary
// conditions and solution to our Poisson equation problem. Since
Expand Down
10 changes: 10 additions & 0 deletions Distributed_LDG_Method/LDGPoisson.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2017 by Michael Harmon
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

// @sect3{LDGPoisson.cc}
// The code begins as per usual with a long list of the the included
// files from the deal.ii library.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
/* ---------------------------------------------------------------------
/* -----------------------------------------------------------------------------
*
* Copyright (C) 2021 by the deal.II authors
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2021 by Hongfeng Ma
* Copyright (C) 2021 by Tatiana E. Itina
*
* This file is part of the deal.II library.
* This file is part of the deal.II code gallery.
*
* The deal.II library is free software; you can use it, redistribute
* it, and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* The full text of the license can be found in the file LICENSE.md at
* the top level directory of deal.II.
*
* ---------------------------------------------------------------------
* -----------------------------------------------------------------------------
*
* Authors: Hongfeng Ma, 2021.
*/
Expand Down
10 changes: 10 additions & 0 deletions Distributed_Moving_Laser_Heating/boundaryInit.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2021 by Hongfeng Ma
* Copyright (C) 2021 by Tatiana E. Itina
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

//#----------------------------------------------------------
//#
Expand Down
10 changes: 10 additions & 0 deletions Distributed_Moving_Laser_Heating/globalPara.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2021 by Hongfeng Ma
* Copyright (C) 2021 by Tatiana E. Itina
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

// # physics constants
double global_PI = 3.1415927;
Expand Down
11 changes: 11 additions & 0 deletions Distributed_Moving_Laser_Heating/rightHandSide.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2021 by Hongfeng Ma
* Copyright (C) 2021 by Tatiana E. Itina
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

//#----------------------------------------------------------
//#
//# This file defines the boundary and initial conditions
Expand Down
22 changes: 7 additions & 15 deletions ElastoplasticTorsion/ElastoplasticTorsion.cc
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
/* ---------------------------------------------------------------------
/* -----------------------------------------------------------------------------
*
* Copyright (C) 2010 - 2015 by the deal.II authors
* and Salvador Flores.
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2015 by Salvador Flores
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*
* This is free software; you can use it, redistribute
* it, and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* The full text of the license can be found in the file LICENSE at
* the top level of the deal.II distribution.
*
* ---------------------------------------------------------------------
*
* Author: Salvador Flores,
* Center for Mathematical Modelling,
* Universidad de Chile, 2015.
* Author: Salvador Flores, Center for Mathematical Modelling,
* Universidad de Chile, 2015.
*/


Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
/* ---------------------------------------------------------------------
* Copyright (C) 2017 by the deal.II authors and
* Jean-Paul Pelteret and Tim Hamann
/* -----------------------------------------------------------------------------
*
* This file is part of the deal.II library.
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2017 by Jean-Paul Pelteret
* Copyright (C) 2017 by Tim Hamann
*
* The deal.II library is free software; you can use it, redistribute
* it, and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* The full text of the license can be found in the file LICENSE at
* the top level of the deal.II distribution.
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*
* ---------------------------------------------------------------------
*/

/*
* Authors: Jean-Paul Pelteret, Tim Hamann,
* University of Erlangen-Nuremberg, 2017
*
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/exact_values.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% list of "exact" measurement values, z_hat %%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/forward_solver.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%% forward solver function %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/get_statistics.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% compute statistics on data set %%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/log_probability.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% compute log probability, log pi %%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/main.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% Run MCMC sampler to estimate posterior distribution %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/plot_solution.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% plots solution, u, to Poisson equation %%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% associated to theta and a 32x32 mesh %%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Matlab/precomputations.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
%% -----------------------------------------------------------------------------
%%
%% SPDX-License-Identifier: LGPL-2.1-or-later
%% Copyright (C) 2022 by Wolfgang Bangerth
%%
%% This file is part of the deal.II code gallery.
%%
%% -----------------------------------------------------------------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% do all precomputations necessary for MCMC simulations %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 9 additions & 0 deletions MCMC-Laplace/Python/forward_solver.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## -----------------------------------------------------------------------------
##
## SPDX-License-Identifier: LGPL-2.1-or-later
## Copyright (C) 2022 by Wolfgang Bangerth
##
## This file is part of the deal.II code gallery.
##
## -----------------------------------------------------------------------------

import numpy as np
import scipy.sparse
from scipy.sparse.linalg import spsolve
Expand Down
18 changes: 5 additions & 13 deletions MCMC-Laplace/mcmc-laplace.cc
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
/* ---------------------------------------------------------------------
/* -----------------------------------------------------------------------------
*
* Copyright (C) 2019 by the deal.II authors and Wolfgang Bangerth.
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2019 by Wolfgang Bangerth
*
* This file is part of the deal.II library.
* This file is part of the deal.II code gallery.
*
* The deal.II library is free software; you can use it, redistribute
* it, and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* The full text of the license can be found in the file LICENSE.md at
* the top level directory of deal.II.
*
* ---------------------------------------------------------------------

* -----------------------------------------------------------------------------
*
* Author: Wolfgang Bangerth, Colorado State University, 2019.
*/



#include <deal.II/base/timer.h>
#include <deal.II/base/multithread_info.h>
#include <deal.II/grid/tria.h>
Expand Down
19 changes: 5 additions & 14 deletions Maxwell-Eigenvalue-hp-Refinement/maxwell-hp.cc
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
/* ---------------------------------------------------------------------
/* -----------------------------------------------------------------------------
*
* Copyright (C) 2022 by the deal.II authors and Jake J. Harmon
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2022 by Jake J. Harmon
*
* This file is part of the deal.II library.
* This file is part of the deal.II code gallery.
*
* The deal.II library is free software; you can use it, redistribute
* it, and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* The full text of the license can be found in the file LICENSE.md at
* the top level directory of deal.II.
*
* ---------------------------------------------------------------------

* -----------------------------------------------------------------------------
*
* Author: Jake J. Harmon, 2022
*
*/



#include <deal.II/base/function_parser.h>
#include <deal.II/base/index_set.h>
#include <deal.II/base/parameter_handler.h>
Expand Down
10 changes: 7 additions & 3 deletions MultipointFluxMixedFiniteElementMethods/mfmfe.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
/* ---------------------------------------------------------------------
/* -----------------------------------------------------------------------------
*
* This file is part of the deal.II Code Gallery.
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2018 Ilona Ambartsumyan
* Copyright (C) 2018 Eldar Khattatov
*
* ---------------------------------------------------------------------
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*
* Author: Ilona Ambartsumyan, Eldar Khattatov, University of Pittsburgh, 2018
*/
Expand Down
10 changes: 10 additions & 0 deletions NavierStokes_TRBDF2_DG/equation_data.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright (C) 2022 by Giuseppe Orlando
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

// We start by including all the necessary deal.II header files.
//
#include <deal.II/base/point.h>
Expand Down
Loading