Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::AssemblyBase::ElemParameterDependence Class Referenceabstract

Detailed Description

Inherited objects from this class can be provided by the user provide assessment of whether or not an element is influenced by a give parameter.

If provided, the sensitivity assembly funcitons will use this to avoid computing sensitivity on elements where the parameter has no influence. For some cases in direct sensitivity a user may want to avoid computing this data even if a solution sensitivity vector is provided when this solution is known to be zero on the element. In this case, the override flag can be set to true.

Definition at line 93 of file assembly_base.h.

#include <assembly_base.h>

Public Member Functions

 ElemParameterDependence (bool o_flag)
virtual ~ElemParameterDependence ()
virtual bool if_elem_depends_on_parameter (const libMesh::Elem &e, const MAST::FunctionBase &p) const =0

Public Attributes

bool override_flag
 if true, assume zero solution sensitivity when elem does not dependent on parameter. More...

Constructor & Destructor Documentation

◆ ElemParameterDependence()

MAST::AssemblyBase::ElemParameterDependence::ElemParameterDependence ( bool  o_flag)

Definition at line 95 of file assembly_base.h.

◆ ~ElemParameterDependence()

virtual MAST::AssemblyBase::ElemParameterDependence::~ElemParameterDependence ( )

Definition at line 96 of file assembly_base.h.

Member Function Documentation

◆ if_elem_depends_on_parameter()

virtual bool MAST::AssemblyBase::ElemParameterDependence::if_elem_depends_on_parameter ( const libMesh::Elem &  e,
const MAST::FunctionBase p 
) const
pure virtual

Member Data Documentation

◆ override_flag

bool MAST::AssemblyBase::ElemParameterDependence::override_flag

if true, assume zero solution sensitivity when elem does not dependent on parameter.

This can be useful for spatial association of parameter, for example, in topology optimization.

Definition at line 104 of file assembly_base.h.

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