Momentum Scripting v1
Loading...
Searching...
No Matches
MOMENTUM_NAMESPACE::Material Class Reference

#include <Material.h>

Public Member Functions

double getDensity () const
 
std::string getName () const
 
bool operator== (const Material &other) const
 

Friends

class GranularBody
 
class GranularBodySystem
 
class Simulation
 

Detailed Description

A class describing a Material which is attached to a Geometry.

Member Function Documentation

◆ getDensity()

double MOMENTUM_NAMESPACE::Material::getDensity ( ) const
Returns
the mass density of the material.

◆ getName()

std::string MOMENTUM_NAMESPACE::Material::getName ( ) const

Get the name of the Material.

Returns
the name of the Material

◆ operator==()

bool MOMENTUM_NAMESPACE::Material::operator== ( const Material other) const

Friends And Related Function Documentation

◆ GranularBody

friend class GranularBody
friend

◆ GranularBodySystem

friend class GranularBodySystem
friend

◆ Simulation

friend class Simulation
friend