Peano
Loading...
Searching...
No Matches
DirichletBoundaryConditions.h
Go to the documentation of this file.
1// This file is part of the ExaHyPE2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
8#include "tarch/la/Vector.h"
9
10#include <bitset>
11#include <functional>
12
13
14namespace exahype2 {
15 namespace blockstructured {
69 std::function<void(
71 double t,
72 double* Q
73 )> boundaryCondition,
75 const tarch::la::Vector<Dimensions, double>& domainOffset,
77 const std::bitset<Dimensions>& periodicBC,
78 int numberOfGridCellsPerAxis,
79 int overlap,
80 int unknownsPlusAuxiliaryVariables,
81 double t,
82 double* faceData
83 );
84 } // namespace blockstructured
85} // namespace exahype2
void applyDirichletBoundaryConditions(std::function< void(const tarch::la::Vector< Dimensions, double > &x, double t, double *Q)> boundaryCondition, const peano4::datamanagement::FaceMarker &marker, const tarch::la::Vector< Dimensions, double > &domainOffset, const tarch::la::Vector< Dimensions, double > &domainSize, const std::bitset< Dimensions > &periodicBC, int numberOfGridCellsPerAxis, int overlap, int unknownsPlusAuxiliaryVariables, double t, double *faceData)
Set the ghost cells of a face along the domain boundary through a Dirichlet boundary condition.
This file is part of the ExaHyPE 2 project within Peano 4.
Definition __init__.py:1
Provide information about selected face.
Definition FaceMarker.h:35
Simple vector class.
Definition Vector.h:159