Template Deal.II Application
 
Loading...
Searching...
No Matches
laplacian.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2024 by Luca Heltai
4//
5// This file is part of the bare-dealii-app application, based on the
6// deal.II library.
7//
8// The bare-dealii-app application is free software; you can use it,
9// redistribute it, and/or modify it under the terms of the Apache-2.0 License
10// WITH LLVM-exception as published by the Free Software Foundation; either
11// version 3.0 of the License, or (at your option) any later version.
12// The full text of the license can be found in the file LICENSE.md
13// at the top level of the bare-dealii-app distribution.
14//
15// ---------------------------------------------------------------------
16
17#ifndef dealii_laplacian_h
18#define dealii_laplacian_h
19
21
22#include <deal.II/fe/fe_q.h>
23
24#include <deal.II/grid/tria.h>
25
29#include <deal.II/lac/vector.h>
30
31#include <fstream>
32
33using namespace dealii;
34
35template <int dim>
70
71#endif
void output_results(const unsigned int cycle) const
Definition laplacian.cc:195
SparseMatrix< double > system_matrix
Definition laplacian.h:64
void run()
Definition laplacian.cc:221
Vector< double > solution
Definition laplacian.h:67
SparsityPattern sparsity_pattern
Definition laplacian.h:65
void assemble_system()
Definition laplacian.cc:104
void setup_system()
Definition laplacian.cc:71
FE_Q< dim > fe
Definition laplacian.h:58
void refine_grid()
Definition laplacian.cc:173
Vector< double > system_rhs
Definition laplacian.h:68
AffineConstraints< double > constraints
Definition laplacian.h:62
DoFHandler< dim > dof_handler
Definition laplacian.h:59
Triangulation< dim > triangulation
Definition laplacian.h:56
void solve()
Definition laplacian.cc:156