feat(poly): lagrangian constrained weak form of 3D lane-Emden
added a basic implimentation of the 3D lane emden equation using a lagrangian multiplier to constrain the value at the center of a spherical domain
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "meshIO.h"
|
||||
#include "polyCoeff.h"
|
||||
#include "polyMFEMUtils.h"
|
||||
|
||||
|
||||
class PolySolver {
|
||||
@@ -28,8 +29,6 @@ private:
|
||||
|
||||
std::unique_ptr<mfem::GridFunction> u;
|
||||
|
||||
std::unique_ptr<mfem::Vector> oneVec;
|
||||
|
||||
std::unique_ptr<mfem::VectorConstantCoefficient> diffusionCoeff;
|
||||
std::unique_ptr<mfem::ConstantCoefficient> nonLinearSourceCoeff;
|
||||
std::unique_ptr<polyMFEMUtils::GaussianCoefficient> gaussianCoeff;
|
||||
@@ -40,6 +39,7 @@ private:
|
||||
|
||||
public:
|
||||
PolySolver(double n, double order);
|
||||
~PolySolver();
|
||||
void solve();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user