feat(libmeanfield): centrifugal + pressure
This commit is contained in:
@@ -10,7 +10,10 @@ export namespace mean_field::physics {
|
||||
mfem::ParGridFunction gradPhi;
|
||||
mfem::ParGridFunction phi;
|
||||
|
||||
explicit GravitySolution(fem::FEM& fem): gradPhi(fem.RT_fes.get()), phi(fem.L2_fes.get()) {}
|
||||
explicit GravitySolution(fem::FEM &fem)
|
||||
: gradPhi(fem.gravityFluxFes.get()),
|
||||
phi(fem.gravityPotentialFes.get()) {
|
||||
}
|
||||
};
|
||||
|
||||
GravitySolution grav_potential(
|
||||
@@ -20,6 +23,13 @@ export namespace mean_field::physics {
|
||||
bool phi_warm = false
|
||||
);
|
||||
|
||||
GravitySolution grav_potential_new(
|
||||
fem::FEM &f,
|
||||
const utils::Args &args,
|
||||
const mfem::GridFunction &rho,
|
||||
const mfem::GridFunction &displacement
|
||||
);
|
||||
|
||||
mfem::GridFunction get_potential(
|
||||
fem::FEM &fem,
|
||||
const utils::Args &args,
|
||||
@@ -40,6 +50,4 @@ export namespace mean_field::physics {
|
||||
);
|
||||
|
||||
void update_stiffness_matrix(fem::FEM &fem);
|
||||
}
|
||||
|
||||
|
||||
} // namespace mean_field::physics
|
||||
|
||||
Reference in New Issue
Block a user