21#include <gtest/gtest.h>
24#include "quill/LogMacros.h"
30std::string
CONFIG_FILENAME = std::string(getenv(
"MESON_SOURCE_ROOT")) +
"/tests/testsConfig.yaml";
38 serif::config::Config&
config = serif::config::Config::getInstance();
41 quill::Logger* logger = logManager.
getLogger(
"log");
44 LOG_INFO(logger,
"Starting polytrope solve test 1...");
47 double polytropicIndex =
config.get<
double>(
"Tests:Poly:Index", 1);
48 LOG_INFO(logger,
"Solving polytrope with n = {:0.2f}", polytropicIndex);
52 LOG_INFO(logger,
"Solving polytrope...");
54 LOG_INFO(logger,
"Polytrope solved.");
Solves the Lane-Emden equation for a polytropic star using a mixed finite element method.
Class to manage logging operations.
quill::Logger * getLogger(const std::string &loggerName)
Get a logger by name.
static LogManager & getInstance()
Get the singleton instance of LogManager.
std::string CONFIG_FILENAME