Skip to content

Commit

Permalink
Merge pull request #196 from tamiko/update_copyright_headers_1
Browse files Browse the repository at this point in the history
nonlinear-heat_transfer_with_AD_NOX: add copyright notices and license
  • Loading branch information
marcfehling committed Jul 26, 2024
2 parents 26c7287 + 2b259b0 commit 1afe182
Show file tree
Hide file tree
Showing 13 changed files with 131 additions and 19 deletions.
11 changes: 7 additions & 4 deletions nonlinear-heat_transfer_with_AD_NOX/include/allheaders.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/*
* allheader.h
/* -----------------------------------------------------------------------------
*
* Created on: 20 Jun 2024
* Author: Narasimhan Swaminathan
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#ifndef __ALLHEADERS_H_INCLUDED__
Expand Down
12 changes: 9 additions & 3 deletions nonlinear-heat_transfer_with_AD_NOX/include/nonlinear_heat.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
/*-----------------------------------------------------------------------------
* Created by Narasimhan Swaminathan on 20 Jun 2024.
*-----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#ifndef __MAIN_ALL_HEADER_H_INCLUDED__
#define __MAIN_ALL_HEADER_H_INCLUDED__
#include "allheaders.h"
Expand Down
11 changes: 11 additions & 0 deletions nonlinear-heat_transfer_with_AD_NOX/mesh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The following copyright notice applies to the mesh files in this directory:
```
/*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/
```
11 changes: 8 additions & 3 deletions nonlinear-heat_transfer_with_AD_NOX/nonlinear_heat.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/**
* Contributed by Narasimhan Swaminathan
* 20 Jun 2024
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "allheaders.h"
Expand Down
12 changes: 9 additions & 3 deletions nonlinear-heat_transfer_with_AD_NOX/source/boundary_values.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/*
* Created by Narasimhan Swaminathan on 20 Jun 2024.
*/
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "nonlinear_heat.h"
/**
Expand Down
13 changes: 10 additions & 3 deletions nonlinear-heat_transfer_with_AD_NOX/source/compute_jacobian.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
/*
* Created by Narasimhan Swaminathan on 20 Jun 2024.
*/
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "allheaders.h"
#include "nonlinear_heat.h"
/**
Expand Down
13 changes: 10 additions & 3 deletions nonlinear-heat_transfer_with_AD_NOX/source/compute_residual.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
/*
* Created by Narasimhan Swaminathan on 20 Jun 2024.
*/
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "allheaders.h"
#include "nonlinear_heat.h"
/**
Expand Down
11 changes: 11 additions & 0 deletions nonlinear-heat_transfer_with_AD_NOX/source/initial_conditions.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "nonlinear_heat.h"

/**
* Returns the initial conditions.
* @param p Point
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "nonlinear_heat.h"

/**
* This is the constructor. All the variables defined in nonlinear_heat.h are
* given values here.
Expand All @@ -15,6 +26,7 @@ nonlinear_heat::nonlinear_heat ()
dof_handler(triangulation),
fe(FE_Q<2>(1), 1)
{}

/**
* This is the destructor
*/
Expand Down
11 changes: 11 additions & 0 deletions nonlinear-heat_transfer_with_AD_NOX/source/output_results.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "nonlinear_heat.h"

/**
* Outputs the results to a vtu file, every #prn step.
* @param prn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "nonlinear_heat.h"
#include "allheaders.h"

/**
* This sets the boundary condition of the problem.
* @param time Time (useful, if the boundary condition is time dependent)
Expand Down
11 changes: 11 additions & 0 deletions nonlinear-heat_transfer_with_AD_NOX/source/setup_system.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "allheaders.h"
#include "nonlinear_heat.h"

/**
* Sets up the system.
* @param time_step
Expand Down
11 changes: 11 additions & 0 deletions nonlinear-heat_transfer_with_AD_NOX/source/solve_and_run.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
/* -----------------------------------------------------------------------------
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
* Copyright (C) 2024 by Narasimhan Swaminathan
*
* This file is part of the deal.II code gallery.
*
* -----------------------------------------------------------------------------
*/

#include "nonlinear_heat.h"

/**
* Solves the linear system, arising during every nonlinear iteration.
* @param rhs Right hand side (Residual)
Expand Down

0 comments on commit 1afe182

Please sign in to comment.