deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
mapping_q1_eulerian.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2001 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#ifndef dealii_mapping_q1_eulerian_h
16#define dealii_mapping_q1_eulerian_h
17
18#include <deal.II/base/config.h>
19
21
23
25
26#include <array>
27
29
30template <typename>
31class Vector;
32
33
93template <int dim, typename VectorType = Vector<double>, int spacedim = dim>
94class MappingQ1Eulerian : public MappingQ<dim, spacedim>
95{
96public:
111 MappingQ1Eulerian(const DoFHandler<dim, spacedim> &euler_dof_handler,
112 const VectorType &euler_vector);
113
120 virtual boost::container::small_vector<Point<spacedim>,
123 const override;
124
129 virtual std::unique_ptr<Mapping<dim, spacedim>>
130 clone() const override;
131
137 virtual bool
139
144
145
146
147protected:
159 const CellSimilarity::Similarity cell_similarity,
160 const Quadrature<dim> &quadrature,
161 const typename Mapping<dim, spacedim>::InternalDataBase &internal_data,
163 &output_data) const override;
164
171 virtual std::vector<Point<spacedim>>
174 const override;
175
179 ObserverPointer<const VectorType,
182
189};
190
193/*----------------------------------------------------------------------*/
194
195#ifndef DOXYGEN
196
197template <int dim, typename VectorType, int spacedim>
198inline bool
200{
201 return false;
202}
203
204#endif // DOXYGEN
205
207
208#endif
virtual bool preserves_vertex_locations() const override
ObserverPointer< const DoFHandler< dim, spacedim >, MappingQ1Eulerian< dim, VectorType, spacedim > > shiftmap_dof_handler
virtual boost::container::small_vector< Point< spacedim >, GeometryInfo< dim >::vertices_per_cell > get_vertices(const typename Triangulation< dim, spacedim >::cell_iterator &cell) const override
virtual std::vector< Point< spacedim > > compute_mapping_support_points(const typename Triangulation< dim, spacedim >::cell_iterator &cell) const override
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
ObserverPointer< const VectorType, MappingQ1Eulerian< dim, VectorType, spacedim > > euler_transform_vectors
virtual CellSimilarity::Similarity fill_fe_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const CellSimilarity::Similarity cell_similarity, const Quadrature< dim > &quadrature, const typename Mapping< dim, spacedim >::InternalDataBase &internal_data, internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &output_data) const override
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499
#define DeclException0(Exception0)
Definition exceptions.h:466
static ::ExceptionBase & ExcInactiveCell()