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
immersed_surface_quadrature.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) 2017 - 2026 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_non_matching_immersed_surface_quadrature_h
14#define dealii_non_matching_immersed_surface_quadrature_h
15
16#include <deal.II/base/config.h>
17
19#include <deal.II/base/point.h>
21#include <deal.II/base/tensor.h>
22
23#include <vector>
24
26namespace NonMatching
27{
103 template <int dim, int spacedim = dim>
105 {
106 public:
112
118 ImmersedSurfaceQuadrature(const std::vector<Point<dim>> &points,
119 const std::vector<double> &weights,
120 const std::vector<Tensor<1, spacedim>> &normals);
121
125 void
126 clear();
127
143 void
144 push_back(const Point<dim> &point,
145 const double weight,
146 const Tensor<1, spacedim> &normal);
147
151 const Tensor<1, spacedim> &
152 normal_vector(const unsigned int i) const;
153
157 const std::vector<Tensor<1, spacedim>> &
158 get_normal_vectors() const;
159
160 protected:
164 std::vector<Tensor<1, spacedim>> normals;
165 };
166
167} // namespace NonMatching
169
170#endif
std::vector< Tensor< 1, spacedim > > normals
void push_back(const Point< dim > &point, const double weight, const Tensor< 1, spacedim > &normal)
const Tensor< 1, spacedim > & normal_vector(const unsigned int i) const
const std::vector< Tensor< 1, spacedim > > & get_normal_vectors() const
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39