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

nonlinear-heat_transfer_with_AD_NOX: add copyright notices and license #196

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
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