-/*
- * 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__
-/*-----------------------------------------------------------------------------
- * 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"
--- /dev/null
+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.
+ *
+ * -----------------------------------------------------------------------------
+ */
+```
-/**
- * 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"
-/*
- * 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"
/**
-/*
- * 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"
/**
-/*
- * 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"
/**
+/* -----------------------------------------------------------------------------
+ *
+ * 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
+/* -----------------------------------------------------------------------------
+ *
+ * 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.
dof_handler(triangulation),
fe(FE_Q<2>(1), 1)
{}
+
/**
* This is the destructor
*/
+/* -----------------------------------------------------------------------------
+ *
+ * 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
+/* -----------------------------------------------------------------------------
+ *
+ * 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)
+/* -----------------------------------------------------------------------------
+ *
+ * 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
+/* -----------------------------------------------------------------------------
+ *
+ * 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)