1 #ifndef ABLATELIBRARY_OPENBOUNDARY_HPP
2 #define ABLATELIBRARY_OPENBOUNDARY_HPP
4 #include "lodiBoundary.hpp"
5 namespace ablate::boundarySolver::lodi {
10 const PetscReal reflectFactor;
12 const PetscReal referencePressure;
14 const PetscReal maxAcousticsLength;
17 OpenBoundary(std::shared_ptr<eos::EOS> eos,
double reflectFactor,
double referencePressure,
double maxAcousticsLength,
18 std::shared_ptr<finiteVolume::processes::PressureGradientScaling> pressureGradientScaling = {});
23 const PetscScalar* boundaryValues,
const PetscScalar* stencilValues[],
const PetscInt aOff[],
const PetscScalar* auxValues,
24 const PetscScalar* stencilAuxValues[], PetscInt stencilSize,
const PetscInt stencil[],
const PetscScalar stencilWeights[],
const PetscInt sOff[],
25 PetscScalar source[],
void* ctx);
Definition: boundarySolver.hpp:13
Definition: lodiBoundary.hpp:12
Definition: openBoundary.hpp:7
void Setup(ablate::boundarySolver::BoundarySolver &bSolver) override
Definition: openBoundary.cpp:14
Definition: boundarySolver.hpp:18