Commit 049b4efe authored by frey_m's avatar frey_m
Browse files

use same file header description in *.hpp or *.cpp as in the corresponding *.h file

parent 5cc744bd
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMESOS2_SOLVER_H
#define AMESOS2_SOLVER_H
......
// Implementation file of the Amesos2BottomSolver class,
// represents the interface to Amesos2 solvers.
//
// Class Amesos2BottomSolver
// Interface to Amesos2 solvers of the Trilinos package.
//
// Copyright (c) 2017 - 2020, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// OPAL is licensed under GNU GPL version 3.
// Implemented as part of the PhD thesis
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
template <class Level>
Amesos2BottomSolver<Level>::Amesos2BottomSolver(std::string solvertype)
: BottomSolver<Teuchos::RCP<amr::matrix_t>,
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_BOUNDARY_H
#define AMR_BOUNDARY_H
......
......@@ -19,7 +19,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_DIRICHLET_BOUNDARY_H
#define AMR_DIRICHLET_BOUNDARY_H
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_INTERPOLATER_H
#define AMR_INTERPOLATER_H
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_LAGRANGE_INTERPOLATER_H
#define AMR_LAGRANGE_INTERPOLATER_H
......
// Implementation file of the AmrLagrangeInterpolater class,
// Lagrange interpolation for the coarse-fine level interface
//
// Class AmrLagrangeInterpolater
// Lagrange interpolation for coarse-fine interfaces.
//
// Copyright (c) 2017 - 2020, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// OPAL is licensed under GNU GPL version 3.
// Implemented as part of the PhD thesis
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#include "Utilities/OpalException.h"
#if AMREX_SPACEDIM == 3
......
// Source file of the AmrMultiGrid class,
// AMR Poisson multigrid solver usint second generation Trilinos packages
//
// Class AmrMultiGrid
// Main class of the AMR Poisson multigrid solver.
// It implements the multigrid solver described in https://doi.org/10.1016/j.cpc.2019.106912
//
// Copyright (c) 2017 - 2020, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// OPAL is licensed under GNU GPL version 3.
// Implemented as part of the PhD thesis
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#include "AmrMultiGrid.h"
#include <algorithm>
......
......@@ -19,7 +19,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_MULTI_GRID_H
#define AMR_MULTI_GRID_H
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_MULTI_GRID_CORE_H
#define AMR_MULTI_GRID_CORE_H
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_MULTI_GRID_DEFS_H
#define AMR_MULTI_GRID_DEFS_H
......
......@@ -19,7 +19,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_MULTI_GRID_LEVEL
#define AMR_MULTI_GRID_LEVEL
......
// Implementation file of the AmrMultiGridLevel class,
// represents a single AMR level.
//
// Class AmrMultiGridLevel
// This class represents a single AMR level, i.e. it stores all matrices
// and vectors of a level.
//
// Copyright (c) 2017 - 2020, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// OPAL is licensed under GNU GPL version 3.
// Implemented as part of the PhD thesis
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#define AMR_NO_SCALE false
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_PERIODIC_BOUNDARY_H
#define AMR_PERIODIC_BOUNDARY_H
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_PRECONDITIONER_H
#define AMR_PRECONDITIONER_H
......
// Source file of the AmrSmoother class,
// interface to Ifpack2 smoothers.
//
// Class AmrSmoother
// Interface to Ifpack2 smoothers of the Trilinos package.
//
// Copyright (c) 2017 - 2020, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// OPAL is licensed under GNU GPL version 3.
// Implemented as part of the PhD thesis
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#include "AmrSmoother.h"
#include <map>
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_SMOOTHER_H
#define AMR_SMOOTHER_H
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef AMR_TRILINEAR_INTERPOLATER_H
#define AMR_TRILINEAR_INTERPOLATER_H
......
// Implementation file of the AmrTrilinearInterpolater class,
// trilinear interpolatin of grid data from coarse to fine cells.
//
// Class AmrTrilinearInterpolater
// Trilinear interpolation of data on coarse cells to fine cells.
//
// Copyright (c) 2017 - 2020, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// OPAL is licensed under GNU GPL version 3.
// Implemented as part of the PhD thesis
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
template <class Level>
AmrTrilinearInterpolater<Level>::AmrTrilinearInterpolater()
: AmrInterpolater<Level>(2 << (AMREX_SPACEDIM - 1))
......
......@@ -18,7 +18,6 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef BELOS_SOLVER_H
#define BELOS_SOLVER_H
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment