]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
nonlinear-heat_transfer_with_AD_NOX: add copyright notices and license 196/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 26 Jul 2024 07:28:36 +0000 (02:28 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 26 Jul 2024 07:28:36 +0000 (02:28 -0500)
13 files changed:
nonlinear-heat_transfer_with_AD_NOX/include/allheaders.h
nonlinear-heat_transfer_with_AD_NOX/include/nonlinear_heat.h
nonlinear-heat_transfer_with_AD_NOX/mesh/README.md [new file with mode: 0644]
nonlinear-heat_transfer_with_AD_NOX/nonlinear_heat.cc
nonlinear-heat_transfer_with_AD_NOX/source/boundary_values.cc
nonlinear-heat_transfer_with_AD_NOX/source/compute_jacobian.cc
nonlinear-heat_transfer_with_AD_NOX/source/compute_residual.cc
nonlinear-heat_transfer_with_AD_NOX/source/initial_conditions.cc
nonlinear-heat_transfer_with_AD_NOX/source/nonlinear_heat_cons_des.cc
nonlinear-heat_transfer_with_AD_NOX/source/output_results.cc
nonlinear-heat_transfer_with_AD_NOX/source/set_boundary_conditions.cc
nonlinear-heat_transfer_with_AD_NOX/source/setup_system.cc
nonlinear-heat_transfer_with_AD_NOX/source/solve_and_run.cc

index 32e958396026773b0b4191fd1a366e66776597f6..cb77bb62d1cbdb851da4335580153046a71d712d 100755 (executable)
@@ -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__
index 05fb1696c8b3acd7bce2c781d211648b34306e72..dbfe412fa1c976b4f8e7cad53355cbfbb286fc2e 100755 (executable)
@@ -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"
diff --git a/nonlinear-heat_transfer_with_AD_NOX/mesh/README.md b/nonlinear-heat_transfer_with_AD_NOX/mesh/README.md
new file mode 100644 (file)
index 0000000..cf00bf9
--- /dev/null
@@ -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.
+ *
+ * -----------------------------------------------------------------------------
+ */
+```
index ce946da383926ca0c07c8a9b297e90f1be76d0c9..92e0fb45e03a2e08070201b35bd66dba18c7a14b 100644 (file)
@@ -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"
index 4facac4718758f91407ad6eef9efe0686c5c1de4..954a2008dc6a8ed8a5fd20f862f91374884f744d 100644 (file)
@@ -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"
 /**
index 467026957f68cb17e7d17f486a39cf3ed954156c..05d359d0ccf3c40f29fc01cbd4e44464fc12e808 100644 (file)
@@ -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"
 /**
index 56bfc64b1a6880e715d8daf9a5fc7f36ba8054e8..c496f1f8e2a544fb58bbacc2efdf22aca6bda49c 100644 (file)
@@ -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"
 /**
index 3191280125c4f32c4ddb93c20ec27908737e95b0..2d7e270dd9238b5af59fc0d40814749a1679cb47 100644 (file)
@@ -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
index a4a6f1f5d18f2771b7beadcb5611f8e5517978fa..cdf04d76eff30baac179d5982f14a9c5bb6517ab 100644 (file)
@@ -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.
@@ -15,6 +26,7 @@ nonlinear_heat::nonlinear_heat ()
     dof_handler(triangulation),
     fe(FE_Q<2>(1), 1)
 {}
+
 /**
  * This is the destructor
  */
index 6a19bac49f0117486c0d80de84a1e546a0378a68..50b5ca0f66d83ddd7d2fbc6d0c8389bd568291ba 100644 (file)
@@ -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
index fe3446f52777e1799fde0274b5a80aa7b33c359d..40d0c44b9c3f2a8d198f60335ebdf566ed25bdbc 100644 (file)
@@ -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)
index 73045284cf7ee2967c3e1d3f067665705a59e66a..a4bb9af4fe221f6990c680f5616151670eb4c8b6 100644 (file)
@@ -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
index 7eff066fb73247a90ce3cbd603c2c4b51d386d12..ca370cb4d944f9c7a620b96e812c6ec41b886259 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.