PolyFEM
Loading...
Searching...
No Matches
polyfem::assembler::NoDensity Class Reference

#include <MatParams.hpp>

Inheritance diagram for polyfem::assembler::NoDensity:
[legend]
Collaboration diagram for polyfem::assembler::NoDensity:
[legend]

Public Member Functions

 NoDensity ()
 
void add_multimaterial (const int index, const json &params, const std::string &density_unit) override
 
double operator() (double px, double py, double pz, double x, double y, double z, double t, int el_id) const override
 
- Public Member Functions inherited from polyfem::assembler::Density
 Density ()
 
virtual ~Density ()=default
 
double operator() (const Eigen::MatrixXd &param, const Eigen::MatrixXd &p, double t, int el_id) const
 

Detailed Description

Definition at line 120 of file MatParams.hpp.

Constructor & Destructor Documentation

◆ NoDensity()

polyfem::assembler::NoDensity::NoDensity ( )
inline

Definition at line 123 of file MatParams.hpp.

Member Function Documentation

◆ add_multimaterial()

void polyfem::assembler::NoDensity::add_multimaterial ( const int  index,
const json params,
const std::string &  density_unit 
)
inlineoverridevirtual

Reimplemented from polyfem::assembler::Density.

Definition at line 125 of file MatParams.hpp.

◆ operator()()

double polyfem::assembler::NoDensity::operator() ( double  px,
double  py,
double  pz,
double  x,
double  y,
double  z,
double  t,
int  el_id 
) const
inlineoverridevirtual

Reimplemented from polyfem::assembler::Density.

Definition at line 130 of file MatParams.hpp.


The documentation for this class was generated from the following file: