MAST
MAST::AssemblyBase::ElemParameterDependence Class Referenceabstract

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. More...

#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...
 

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 86 of file assembly_base.h.

Constructor & Destructor Documentation

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

Definition at line 88 of file assembly_base.h.

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

Definition at line 89 of file assembly_base.h.

Member Function Documentation

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

Here is the caller graph for this function:

Member Data Documentation

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 97 of file assembly_base.h.


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