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

#include <MatParams.hpp>

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

Public Member Functions

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

Private Attributes

GenericMatParam rho_
 
GenericMatParam heat_capacity_
 

Detailed Description

Definition at line 146 of file MatParams.hpp.

Constructor & Destructor Documentation

◆ ThermalMassDensity()

polyfem::assembler::ThermalMassDensity::ThermalMassDensity ( )

Definition at line 484 of file MatParams.cpp.

Member Function Documentation

◆ add_multimaterial() [1/2]

void polyfem::assembler::ThermalMassDensity::add_multimaterial ( const int  index,
const json params,
const std::string &  density_unit,
const std::string &  heat_capacity_unit,
const std::string &  root_path 
)

Definition at line 494 of file MatParams.cpp.

References polyfem::assembler::GenericMatParam::add_multimaterial(), heat_capacity_, and rho_.

Here is the call graph for this function:

◆ add_multimaterial() [2/2]

void polyfem::assembler::ThermalMassDensity::add_multimaterial ( const int  index,
const json params,
const std::string &  density_unit,
const std::string &  root_path 
)
overridevirtual

Reimplemented from polyfem::assembler::Density.

Definition at line 489 of file MatParams.cpp.

References add_multimaterial().

Referenced by add_multimaterial().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ heat_capacity()

double polyfem::assembler::ThermalMassDensity::heat_capacity ( const RowVectorNd p,
double  t,
int  el_id 
) const

Definition at line 515 of file MatParams.cpp.

References heat_capacity_.

Referenced by operator()().

Here is the caller graph for this function:

◆ operator()()

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

Reimplemented from polyfem::assembler::Density.

Definition at line 500 of file MatParams.cpp.

References heat_capacity(), heat_capacity_, rho(), rho_, x, y, and z.

Here is the call graph for this function:

◆ rho()

double polyfem::assembler::ThermalMassDensity::rho ( const RowVectorNd p,
double  t,
int  el_id 
) const

Definition at line 510 of file MatParams.cpp.

References rho_.

Referenced by operator()().

Here is the caller graph for this function:

Member Data Documentation

◆ heat_capacity_

GenericMatParam polyfem::assembler::ThermalMassDensity::heat_capacity_
private

Definition at line 162 of file MatParams.hpp.

Referenced by add_multimaterial(), heat_capacity(), and operator()().

◆ rho_

GenericMatParam polyfem::assembler::ThermalMassDensity::rho_
private

Definition at line 161 of file MatParams.hpp.

Referenced by add_multimaterial(), operator()(), and rho().


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