Peano
Loading...
Searching...
No Matches
SommerfeldBoundaryConditions.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 {
434 std::function<double(
435 const double* Q,
437 int normal
438 )> waveSpeed,
439 std::function<
440 void(const tarch::la::Vector<Dimensions, double>& x, double* Q)>
441 farFieldSolution,
443 const tarch::la::Vector<Dimensions, double>& domainOffset,
445 const std::bitset<Dimensions>& periodicBC,
446 int numberOfGridCellsPerAxis,
447 int overlap,
448 int numberOfUnknowns,
449 int numberOfAuxiliaryVariables,
451 double timeStepSize,
452 const double* faceDataOld,
453 double* faceDataNew
454 );
455 } // namespace blockstructured
456} // namespace exahype2
void applySommerfeldBoundaryConditions(std::function< double(const double *Q, const tarch::la::Vector< Dimensions, double > &x, int normal)> waveSpeed, std::function< void(const tarch::la::Vector< Dimensions, double > &x, double *Q)> farFieldSolution, 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 numberOfUnknowns, int numberOfAuxiliaryVariables, const tarch::la::Vector< Dimensions, double > &origin, double timeStepSize, const double *faceDataOld, double *faceDataNew)
Advance the ghost cells of a face along the domain boundary through a Sommerfeld (radiative,...
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