v0.15.0
Loading...
Searching...
No Matches
ObjectiveFunctionData Struct Referenceabstract
Inheritance diagram for ObjectiveFunctionData:
[legend]

Public Member Functions

virtual MoFEMErrorCode evalObjectiveFunction (MatrixDouble &coords, boost::shared_ptr< MatrixDouble > u_ptr, boost::shared_ptr< MatrixDouble > stress_ptr, boost::shared_ptr< MatrixDouble > strain_ptr, boost::shared_ptr< VectorDouble > o_ptr)=0
 
virtual MoFEMErrorCode evalObjectiveGradientStress (MatrixDouble &coords, boost::shared_ptr< MatrixDouble > u_ptr, boost::shared_ptr< MatrixDouble > stress_ptr, boost::shared_ptr< MatrixDouble > strain_ptr, boost::shared_ptr< MatrixDouble > o_ptr)=0
 
virtual MoFEMErrorCode evalObjectiveGradientStrain (MatrixDouble &coords, boost::shared_ptr< MatrixDouble > u_ptr, boost::shared_ptr< MatrixDouble > stress_ptr, boost::shared_ptr< MatrixDouble > strain_ptr, boost::shared_ptr< MatrixDouble > o_ptr)=0
 
virtual MoFEMErrorCode numberOfModes (int block_id, int &modes)=0
 
virtual MoFEMErrorCode blockModes (int block_id, MatrixDouble &coords, std::array< double, 3 > &centroid, std::array< double, 6 > &bbox, MatrixDouble &o_ptr)=0
 
virtual ~ObjectiveFunctionData ()=default
 

Detailed Description

Examples
mofem/tutorials/vec-7/adjoint.cpp.

Definition at line 87 of file adjoint.cpp.

Constructor & Destructor Documentation

◆ ~ObjectiveFunctionData()

virtual ObjectiveFunctionData::~ObjectiveFunctionData ( )
virtualdefault

Member Function Documentation

◆ blockModes()

virtual MoFEMErrorCode ObjectiveFunctionData::blockModes ( int block_id,
MatrixDouble & coords,
std::array< double, 3 > & centroid,
std::array< double, 6 > & bbox,
MatrixDouble & o_ptr )
pure virtual

◆ evalObjectiveFunction()

virtual MoFEMErrorCode ObjectiveFunctionData::evalObjectiveFunction ( MatrixDouble & coords,
boost::shared_ptr< MatrixDouble > u_ptr,
boost::shared_ptr< MatrixDouble > stress_ptr,
boost::shared_ptr< MatrixDouble > strain_ptr,
boost::shared_ptr< VectorDouble > o_ptr )
pure virtual

◆ evalObjectiveGradientStrain()

virtual MoFEMErrorCode ObjectiveFunctionData::evalObjectiveGradientStrain ( MatrixDouble & coords,
boost::shared_ptr< MatrixDouble > u_ptr,
boost::shared_ptr< MatrixDouble > stress_ptr,
boost::shared_ptr< MatrixDouble > strain_ptr,
boost::shared_ptr< MatrixDouble > o_ptr )
pure virtual

◆ evalObjectiveGradientStress()

virtual MoFEMErrorCode ObjectiveFunctionData::evalObjectiveGradientStress ( MatrixDouble & coords,
boost::shared_ptr< MatrixDouble > u_ptr,
boost::shared_ptr< MatrixDouble > stress_ptr,
boost::shared_ptr< MatrixDouble > strain_ptr,
boost::shared_ptr< MatrixDouble > o_ptr )
pure virtual

◆ numberOfModes()

virtual MoFEMErrorCode ObjectiveFunctionData::numberOfModes ( int block_id,
int & modes )
pure virtual

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