fix(poly): working on 3D polytrope
not working yet
This commit is contained in:
@@ -9,10 +9,21 @@
|
||||
#include "meshIO.h"
|
||||
#include "polyCoeff.h"
|
||||
#include "polyMFEMUtils.h"
|
||||
#include "config.h"
|
||||
#include "probe.h"
|
||||
#include "quill/Logger.h"
|
||||
|
||||
namespace laneEmden {
|
||||
double a (int k, double n);
|
||||
double c(int m, double n);
|
||||
double thetaSerieseExpansion(double xi, double n, int order);
|
||||
}
|
||||
|
||||
class PolySolver {
|
||||
private:
|
||||
Config& config = Config::getInstance();
|
||||
Probe::LogManager& logManager = Probe::LogManager::getInstance();
|
||||
quill::Logger* logger;
|
||||
double n, order;
|
||||
MeshIO meshIO;
|
||||
mfem::Mesh& mesh;
|
||||
@@ -32,6 +43,8 @@ private:
|
||||
std::unique_ptr<mfem::ConstantCoefficient> nonLinearSourceCoeff;
|
||||
std::unique_ptr<polyMFEMUtils::GaussianCoefficient> gaussianCoeff;
|
||||
|
||||
double C_val;
|
||||
|
||||
void assembleNonlinearForm();
|
||||
void assembleConstraintForm();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user