MFEM v4.7.0
Finite element discretization library
|
Solid isotropic material penalization (SIMP) coefficient. More...
#include <ex37.hpp>
Public Member Functions | |
SIMPInterpolationCoefficient (GridFunction *rho_filter_, real_t min_val_=1e-6, real_t max_val_=1.0, real_t exponent_=3) | |
virtual real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the coefficient in the element described by T at the point ip. | |
Public Member Functions inherited from mfem::Coefficient | |
Coefficient () | |
virtual void | SetTime (real_t t) |
Set the time for time dependent coefficients. | |
real_t | GetTime () |
Get the time for time dependent coefficients. | |
real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip, real_t t) |
Evaluate the coefficient in the element described by T at the point ip at time t. | |
virtual void | Project (QuadratureFunction &qf) |
Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. | |
virtual | ~Coefficient () |
Protected Attributes | |
GridFunction * | rho_filter |
real_t | min_val |
real_t | max_val |
real_t | exponent |
Protected Attributes inherited from mfem::Coefficient | |
real_t | time |
|
inline |
|
inlinevirtual |
Evaluate the coefficient in the element described by T at the point ip.
Implements mfem::Coefficient.
|
protected |
|
protected |
|
protected |
|
protected |