Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Protected Attributes | List of all members
AMP::Operator::MassElement Class Referenceabstract

#include <MassElement.h>

Inheritance diagram for AMP::Operator::MassElement:
Inheritance graph
[legend]

Public Member Functions

virtual void apply ()=0
 
void initializeForCurrentElement (const libMesh::Elem *elem, std::shared_ptr< MassDensityModel > densityModel)
 
 MassElement (std::shared_ptr< const ElementOperationParameters > params)
 
virtual ~MassElement ()
 

Protected Attributes

std::shared_ptr< MassDensityModeld_densityModel
 
const libMesh::Elem * d_elem
 
std::shared_ptr< libMesh::FEBase > d_fe
 
std::shared_ptr< libMesh::FEType > d_feType
 
const std::vector< libMesh::Real > * d_JxW
 
const std::vector< std::vector< libMesh::Real > > * d_phi
 
std::shared_ptr< libMesh::QBase > d_qrule
 

Detailed Description

Definition at line 24 of file MassElement.h.

Constructor & Destructor Documentation

◆ MassElement()

AMP::Operator::MassElement::MassElement ( std::shared_ptr< const ElementOperationParameters params)
explicit

◆ ~MassElement()

virtual AMP::Operator::MassElement::~MassElement ( )
inlinevirtual

Definition at line 29 of file MassElement.h.

Member Function Documentation

◆ apply()

virtual void AMP::Operator::ElementOperation::apply ( )
pure virtualinherited

This is where the element level computation in a FE operator is performed. Each derived class must provide an implementation that is appropriate for use within its respective FE operator.

Implemented in AMP::Operator::DiffusionLinearElement, AMP::Operator::DiffusionNonlinearElement, AMP::Operator::MassLinearElement, AMP::Operator::SourceNonlinearElement, AMP::Operator::MechanicsLinearElement, AMP::Operator::MechanicsLinearUpdatedLagrangianElement, AMP::Operator::MechanicsNonlinearElement, and AMP::Operator::MechanicsNonlinearUpdatedLagrangianElement.

◆ initializeForCurrentElement()

void AMP::Operator::MassElement::initializeForCurrentElement ( const libMesh::Elem *  elem,
std::shared_ptr< MassDensityModel densityModel 
)

Member Data Documentation

◆ d_densityModel

std::shared_ptr<MassDensityModel> AMP::Operator::MassElement::d_densityModel
protected

Definition at line 47 of file MassElement.h.

◆ d_elem

const libMesh::Elem* AMP::Operator::MassElement::d_elem
protected

Definition at line 45 of file MassElement.h.

◆ d_fe

std::shared_ptr<libMesh::FEBase> AMP::Operator::MassElement::d_fe
protected

Definition at line 37 of file MassElement.h.

◆ d_feType

std::shared_ptr<libMesh::FEType> AMP::Operator::MassElement::d_feType
protected

Definition at line 35 of file MassElement.h.

◆ d_JxW

const std::vector<libMesh::Real>* AMP::Operator::MassElement::d_JxW
protected

Definition at line 41 of file MassElement.h.

◆ d_phi

const std::vector<std::vector<libMesh::Real> >* AMP::Operator::MassElement::d_phi
protected

Definition at line 43 of file MassElement.h.

◆ d_qrule

std::shared_ptr<libMesh::QBase> AMP::Operator::MassElement::d_qrule
protected

Definition at line 39 of file MassElement.h.


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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:44.
Comments on this page