Loading [MathJax]/extensions/tex2jax.js
Fluid structure interaction suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
linear_elasticity.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2022 by Luca Heltai
4 //
5 // This file is part of the FSI-suite platform, based on the deal.II library.
6 //
7 // The FSI-suite platform is free software; you can use it, redistribute it,
8 // and/or modify it under the terms of the GNU Lesser General Public License as
9 // published by the Free Software Foundation; either version 3.0 of the License,
10 // or (at your option) any later version. The full text of the license can be
11 // found in the file LICENSE at the top level of the FSI-suite platform
12 // distribution.
13 //
14 // ---------------------------------------------------------------------
15 #ifndef pdes_mpi_linear_elasticity_h
16 #define pdes_mpi_linear_elasticity_h
17 
18 #include "parsed_tools/constants.h"
19 #include "pdes/linear_problem.h"
20 
21 namespace PDEs
22 {
23  using namespace dealii;
24 
148  template <int dim, int spacedim = dim, class LacType = LAC::LAdealii>
149  class LinearElasticity : public LinearProblem<dim, spacedim, LacType>
150  {
151  public:
157 
161  virtual ~LinearElasticity() = default;
162 
163  using ScratchData =
165 
167 
168  using VectorType =
170 
175  void
176  postprocess();
177 
178  protected:
182  virtual void
183  assemble_system_one_cell(
185  ScratchData &scratch,
186  CopyData &copy) override;
187 
191  virtual void
192  solve() override;
193 
197  };
198 
199  namespace MPI
200  {
201  template <int dim, int spacedim = dim>
204  }
205 
206  namespace Serial
207  {
208  template <int dim, int spacedim = dim>
211  }
212 } // namespace PDEs
213 #endif
virtual ~LinearElasticity()=default
Destroy the LinearElasticity object.
const FEValuesExtractors::Vector displacement
ParsedTools::Function< spacedim > mu
typename LinearProblem< dim, spacedim, LacType >::ScratchData ScratchData
typename LinearProblem< dim, spacedim, LacType >::CopyData CopyData
typename LinearProblem< dim, spacedim, LacType >::VectorType VectorType
ParsedTools::Function< spacedim > lambda
Construct a LinearProblem.
typename BlockVectorType::BlockType VectorType
Vector type.
A wrapper for the FunctionParser class.
Definition: function.h:30
PDEs::LinearElasticity< dim, spacedim, LAC::LAdealii > LinearElasticity
We collect in this namespace all PDEs that are relevant to Fluid Structure Interaction Problems.