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
immersed_surface_quadrature.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2017 - 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_non_matching_immersed_surface_quadrature
16#define dealii_non_matching_immersed_surface_quadrature
17
18#include <deal.II/base/config.h>
19
20#include <deal.II/base/point.h>
23#include <deal.II/base/tensor.h>
24
25#include <vector>
26
28namespace NonMatching
29{
105 template <int dim, int spacedim = dim>
107 {
108 public:
114
120 ImmersedSurfaceQuadrature(const std::vector<Point<dim>> &points,
121 const std::vector<double> &weights,
122 const std::vector<Tensor<1, spacedim>> &normals);
123
127 void
128 clear();
129
145 void
146 push_back(const Point<dim> &point,
147 const double weight,
148 const Tensor<1, spacedim> &normal);
149
153 const Tensor<1, spacedim> &
154 normal_vector(const unsigned int i) const;
155
159 const std::vector<Tensor<1, spacedim>> &
160 get_normal_vectors() const;
161
162 protected:
166 std::vector<Tensor<1, spacedim>> normals;
167 };
168
169} // namespace NonMatching
171
172#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:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504