deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+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: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2001 - 2025 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_mapping_q1_eulerian_h
14#define dealii_mapping_q1_eulerian_h
15
16#include <deal.II/base/config.h>
17
19
21
23
24#include <boost/container/small_vector.hpp>
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>,
121#ifndef _MSC_VER
122 ReferenceCells::max_n_vertices<dim>()
123#else
125#endif
126 >
128 const override;
129
134 virtual std::unique_ptr<Mapping<dim, spacedim>>
135 clone() const override;
136
142 virtual bool
144
149
150
151
152protected:
164 const CellSimilarity::Similarity cell_similarity,
165 const Quadrature<dim> &quadrature,
166 const typename Mapping<dim, spacedim>::InternalDataBase &internal_data,
168 &output_data) const override;
169
176 virtual void
179 boost::container::small_vector<Point<spacedim>, 200> &points)
180 const override;
181
185 ObserverPointer<const VectorType,
188
195};
196
199/*----------------------------------------------------------------------*/
200
201#ifndef DOXYGEN
202
203template <int dim, typename VectorType, int spacedim>
204inline bool
206{
207 return false;
208}
209
210#endif // DOXYGEN
211
213
214#endif
virtual bool preserves_vertex_locations() const override
ObserverPointer< const DoFHandler< dim, spacedim >, MappingQ1Eulerian< dim, VectorType, spacedim > > shiftmap_dof_handler
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
virtual void compute_mapping_support_points(const typename Triangulation< dim, spacedim >::cell_iterator &cell, boost::container::small_vector< Point< spacedim >, 200 > &points) const override
virtual boost::container::small_vector< Point< spacedim >, ReferenceCells::max_n_vertices< dim >() > get_vertices(const typename Triangulation< dim, spacedim >::cell_iterator &cell) const override
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
#define DeclException0(Exception0)
static ::ExceptionBase & ExcInactiveCell()