Documentation 6b54b78464
Loading...
Searching...
No Matches
CProperty Class Reference

Base class for defining element properties. More...

#include <CElementProperty.hpp>

Inheritance diagram for CProperty:
[legend]

Public Member Functions

 CProperty (unsigned long valMat_Prop)
 Constructor of the class.
 
virtual ~CProperty (void)
 Destructor of the class.
 
virtual unsigned long GetMat_Mod (void) const
 Get the material model to use for the element.
 
unsigned long GetMat_Prop (void) const
 Get index of the physical properties.
 
virtual unsigned long GetElectric_Prop (void) const
 Get index of the electric properties.
 
virtual unsigned long GetDV (void) const
 Get index of the design variable.
 
virtual void SetDesignDensity (su2double valDensity)
 Set the Design density (topology optimization variable).
 
virtual su2double GetDesignDensity (void) const
 Get the value of the Design density.
 
virtual void SetPhysicalDensity (su2double valDensity)
 Set the Physical density (used to penalize element stiffness by the FEM solver).
 
virtual su2double GetPhysicalDensity (void) const
 Get the value of the Physical density.
 
virtual su2double GetAdjointDensity (void)
 Extract the derivative of the Design density.
 
virtual void RegisterDensity (void)
 Register the Design density as an AD input variable.
 

Protected Attributes

unsigned long iMat_Prop = 0
 Index of the properties (E, Nu) for the structural model used.
 

Detailed Description

Base class for defining element properties.

Author
R. Sanchez
Version
8.5.0 "Harrier"

Constructor & Destructor Documentation

◆ CProperty()

CProperty::CProperty ( unsigned long  valMat_Prop)
inline

Constructor of the class.

Parameters
[in]valMat_Prop- Index of the physical properties (E,nu,rho,rho_dead_load) assigned to the element.

◆ ~CProperty()

virtual CProperty::~CProperty ( void  )
inlinevirtual

Destructor of the class.

Member Function Documentation

◆ GetAdjointDensity()

virtual su2double CProperty::GetAdjointDensity ( void  )
inlinevirtual

Extract the derivative of the Design density.

Reimplemented in CElementProperty.

◆ GetDesignDensity()

virtual su2double CProperty::GetDesignDensity ( void  ) const
inlinevirtual

Get the value of the Design density.

Reimplemented in CElementProperty.

◆ GetDV()

virtual unsigned long CProperty::GetDV ( void  ) const
inlinevirtual

Get index of the design variable.

Reimplemented in CElementProperty.

◆ GetElectric_Prop()

virtual unsigned long CProperty::GetElectric_Prop ( void  ) const
inlinevirtual

Get index of the electric properties.

Reimplemented in CElementProperty.

◆ GetMat_Mod()

virtual unsigned long CProperty::GetMat_Mod ( void  ) const
inlinevirtual

Get the material model to use for the element.

Reimplemented in CElementProperty.

◆ GetMat_Prop()

unsigned long CProperty::GetMat_Prop ( void  ) const
inline

Get index of the physical properties.

◆ GetPhysicalDensity()

virtual su2double CProperty::GetPhysicalDensity ( void  ) const
inlinevirtual

Get the value of the Physical density.

Reimplemented in CElementProperty.

◆ RegisterDensity()

virtual void CProperty::RegisterDensity ( void  )
inlinevirtual

Register the Design density as an AD input variable.

Reimplemented in CElementProperty.

◆ SetDesignDensity()

virtual void CProperty::SetDesignDensity ( su2double  valDensity)
inlinevirtual

Set the Design density (topology optimization variable).

Reimplemented in CElementProperty.

◆ SetPhysicalDensity()

virtual void CProperty::SetPhysicalDensity ( su2double  valDensity)
inlinevirtual

Set the Physical density (used to penalize element stiffness by the FEM solver).

Reimplemented in CElementProperty.

Member Data Documentation

◆ iMat_Prop

unsigned long CProperty::iMat_Prop = 0
protected

Index of the properties (E, Nu) for the structural model used.


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