ABLATE Source Documentation  0.12.34
debugBoundarySolver.hpp
1 #ifndef ABLATELIBRARY_DEBUGBOUNDARYSOLVER_HPP
2 #define ABLATELIBRARY_DEBUGBOUNDARYSOLVER_HPP
3 
4 #include "boundarySolver.hpp"
5 
6 namespace ablate::boundarySolver {
7 
12  public:
21  DebugBoundarySolver(std::string solverId, std::shared_ptr<domain::Region> region, std::shared_ptr<domain::Region> fieldBoundary, std::vector<std::shared_ptr<BoundaryProcess>> boundaryProcesses,
22  std::shared_ptr<parameters::Parameters> options, bool mergeFaces = false);
23 
27  void Setup() override;
28 
38  PetscErrorCode ComputeRHSFunction(PetscReal time, Vec locXVec, Vec locFVec) override;
39 
40  private:
46  void OutputStencilCellLocation(std::ostream& stream, PetscInt cell);
47 };
48 
49 } // namespace ablate::boundarySolver
50 #endif // ABLATELIBRARY_DEBUGBOUNDARYSOLVER_HPP
Definition: boundarySolver.hpp:13
Definition: debugBoundarySolver.hpp:11
PetscErrorCode ComputeRHSFunction(PetscReal time, Vec locXVec, Vec locFVec) override
Definition: debugBoundarySolver.cpp:96
DebugBoundarySolver(std::string solverId, std::shared_ptr< domain::Region > region, std::shared_ptr< domain::Region > fieldBoundary, std::vector< std::shared_ptr< BoundaryProcess >> boundaryProcesses, std::shared_ptr< parameters::Parameters > options, bool mergeFaces=false)
Definition: debugBoundarySolver.cpp:8
void Setup() override
Definition: debugBoundarySolver.cpp:12