Peano
Loading...
Searching...
No Matches
SommerfeldBoundaryConditions.h File Reference
#include "peano4/datamanagement/FaceMarker.h"
#include "peano4/utils/Globals.h"
#include "tarch/la/Vector.h"
#include <bitset>
#include <functional>
Include dependency graph for SommerfeldBoundaryConditions.h:

Go to the source code of this file.

Namespaces

namespace  exahype2
 This file is part of the ExaHyPE 2 project within Peano 4.
 
namespace  exahype2::blockstructured
 

Functions

void exahype2::blockstructured::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, outgoing) boundary condition.