SERiF 0.0.1a
3+1D Stellar Structure and Evolution
Loading...
Searching...
No Matches
probe.h File Reference
#include <string>
#include <map>
#include <vector>
#include <utility>
#include "mfem.hpp"
#include "quill/Logger.h"

Go to the source code of this file.

Classes

class  serif::probe::LogManager
 Class to manage logging operations. More...
 

Namespaces

namespace  serif
 
namespace  serif::probe
 The Probe namespace contains utility functions for debugging and logging.
 

Functions

void serif::probe::pause ()
 Pause the execution and wait for user input.
 
void serif::probe::wait (int seconds)
 Wait for a specified number of seconds.
 
void serif::probe::glVisView (mfem::GridFunction &u, mfem::Mesh &mesh, const std::string &windowTitle="grid function", const std::string &keyset="")
 Visualize a solution using GLVis.
 
void serif::probe::glVisView (mfem::Vector &vec, mfem::FiniteElementSpace &fes, const std::string &windowTitle="vector", const std::string &keyset="")
 Visualize a vector using GLVis.
 
double serif::probe::getMeshRadius (mfem::Mesh &mesh)
 
std::pair< std::vector< double >, std::vector< double > > serif::probe::getRaySolution (mfem::GridFunction &u, mfem::Mesh &mesh, const std::vector< double > &rayDirection, int numSamples, std::string filename)
 
std::pair< std::vector< double >, std::vector< double > > serif::probe::getRaySolution (mfem::Vector &vec, mfem::FiniteElementSpace &fes, const std::vector< double > &rayDirection, int numSamples, std::string filename)