Reference documentation for deal.II version 9.6.0
\(\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
181
188};
189
192/*----------------------------------------------------------------------*/
193
194#ifndef DOXYGEN
195
196template <int dim, typename VectorType, int spacedim>
197inline bool
199{
200 return false;
201}
202
203#endif // DOXYGEN
204
206
207#endif
virtual bool preserves_vertex_locations() const override
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
SmartPointer< const DoFHandler< dim, spacedim >, MappingQ1Eulerian< dim, VectorType, spacedim > > shiftmap_dof_handler
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
SmartPointer< 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
MappingQ1Eulerian(const DoFHandler< dim, spacedim > &euler_dof_handler, const VectorType &euler_vector)
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
#define DeclException0(Exception0)
Definition exceptions.h:471
static ::ExceptionBase & ExcInactiveCell()