1 #ifndef ABLATELIBRARY_LODI_INLET_HPP
2 #define ABLATELIBRARY_LODI_INLET_HPP
4 #include "lodiBoundary.hpp"
6 namespace ablate::boundarySolver::lodi {
11 std::shared_ptr<ablate::mathFunctions::MathFunction> prescribedVelocity;
13 static PetscErrorCode UpdateVelocityFunction(PetscInt dim, PetscReal time,
const PetscReal x[], PetscInt Nf, PetscScalar* u,
void* ctx);
16 explicit Inlet(std::shared_ptr<eos::EOS> eos, std::shared_ptr<finiteVolume::processes::PressureGradientScaling> pressureGradientScaling = {},
17 std::shared_ptr<ablate::mathFunctions::MathFunction> prescribedVelocity = {});
22 const PetscScalar* boundaryValues,
const PetscScalar* stencilValues[],
const PetscInt aOff[],
const PetscScalar* auxValues,
23 const PetscScalar* stencilAuxValues[], PetscInt stencilSize,
const PetscInt stencil[],
const PetscScalar stencilWeights[],
const PetscInt sOff[],
24 PetscScalar source[],
void* ctx);
Definition: boundarySolver.hpp:13
void Setup(ablate::boundarySolver::BoundarySolver &bSolver) override
Definition: inlet.cpp:12
Definition: lodiBoundary.hpp:12
Definition: boundarySolver.hpp:18