App: Add StiffnessDensity property
This commit is contained in:
@@ -2027,6 +2027,7 @@ void Application::initTypes()
|
||||
App::PropertySpecificHeat ::init();
|
||||
App::PropertySpeed ::init();
|
||||
App::PropertyStiffness ::init();
|
||||
App::PropertyStiffnessDensity ::init();
|
||||
App::PropertyStress ::init();
|
||||
App::PropertyTemperature ::init();
|
||||
App::PropertyThermalConductivity ::init();
|
||||
|
||||
@@ -621,6 +621,17 @@ PropertyStiffness::PropertyStiffness()
|
||||
setUnit(Base::Unit::Stiffness);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// PropertyStiffnessDensity
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
TYPESYSTEM_SOURCE(App::PropertyStiffnessDensity, App::PropertyQuantity)
|
||||
|
||||
PropertyStiffnessDensity::PropertyStiffnessDensity()
|
||||
{
|
||||
setUnit(Base::Unit::StiffnessDensity);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// PropertyTemperature
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
@@ -620,7 +620,7 @@ public:
|
||||
|
||||
/** Stiffness property
|
||||
* This is a property for representing stiffness. It is basically a float
|
||||
* property. On the Gui it has a quantity like m/s^2.
|
||||
* property. On the Gui it has a quantity like N/m.
|
||||
*/
|
||||
class AppExport PropertyStiffness: public PropertyQuantity
|
||||
{
|
||||
@@ -631,8 +631,21 @@ public:
|
||||
~PropertyStiffness() override = default;
|
||||
};
|
||||
|
||||
/** StiffnessDensity property
|
||||
* This is a property for representing stiffness per area unit. It is basically a float
|
||||
* property. On the Gui it has a quantity like Pa/m.
|
||||
*/
|
||||
class AppExport PropertyStiffnessDensity: public PropertyQuantity
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
PropertyStiffnessDensity();
|
||||
~PropertyStiffnessDensity() override = default;
|
||||
};
|
||||
|
||||
/** Stress property
|
||||
* This is a property for representing . It is basically a float
|
||||
* This is a property for representing stress. It is basically a float
|
||||
* property. On the Gui it has a quantity like Pa.
|
||||
*/
|
||||
class AppExport PropertyStress: public PropertyQuantity
|
||||
|
||||
Reference in New Issue
Block a user