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

#include <DiffusionLinearElement.h>

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

Public Member Functions

void apply () override
 
 DiffusionLinearElement (std::shared_ptr< const ElementOperationParameters > params)
 
void initializeForCurrentElement (const libMesh::Elem *elem, std::shared_ptr< DiffusionTransportModel > transportModel)
 
void setElementStiffnessMatrix (std::vector< std::vector< double > > &elementStiffnessMatrix)
 
void setElementVectors (std::map< std::string, std::vector< double > > vecs)
 
virtual ~DiffusionLinearElement ()
 

Protected Attributes

const std::vector< std::vector< libMesh::RealGradient > > * d_dphi
 
const libMesh::Elem * d_elem
 
std::vector< std::vector< double > > * d_elementStiffnessMatrix
 
std::shared_ptr< libMesh::FEBase > d_fe
 
std::shared_ptr< libMesh::FEType > d_feType
 
const std::vector< libMesh::Real > * d_JxW
 
std::map< std::string, std::vector< double > > d_localVecs
 
const std::vector< std::vector< libMesh::Real > > * d_phi
 
std::shared_ptr< libMesh::QBase > d_qrule
 
bool d_transportAtGauss
 
std::shared_ptr< DiffusionTransportModeld_transportModel
 
std::shared_ptr< DiffusionTransportTensorModeld_transportTensorModel
 

Detailed Description

Definition at line 13 of file DiffusionLinearElement.h.

Constructor & Destructor Documentation

◆ DiffusionLinearElement()

AMP::Operator::DiffusionLinearElement::DiffusionLinearElement ( std::shared_ptr< const ElementOperationParameters params)
inlineexplicit

Definition at line 16 of file DiffusionLinearElement.h.

References d_transportAtGauss.

◆ ~DiffusionLinearElement()

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

Definition at line 22 of file DiffusionLinearElement.h.

Member Function Documentation

◆ apply()

void AMP::Operator::DiffusionLinearElement::apply ( )
overridevirtual

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.

Implements AMP::Operator::ElementOperation.

◆ initializeForCurrentElement()

void AMP::Operator::DiffusionElement::initializeForCurrentElement ( const libMesh::Elem *  elem,
std::shared_ptr< DiffusionTransportModel transportModel 
)
inherited

◆ setElementStiffnessMatrix()

void AMP::Operator::DiffusionLinearElement::setElementStiffnessMatrix ( std::vector< std::vector< double > > &  elementStiffnessMatrix)
inline

Definition at line 24 of file DiffusionLinearElement.h.

References d_elementStiffnessMatrix.

◆ setElementVectors()

void AMP::Operator::DiffusionLinearElement::setElementVectors ( std::map< std::string, std::vector< double > >  vecs)
inline

Definition at line 29 of file DiffusionLinearElement.h.

References d_localVecs.

Member Data Documentation

◆ d_dphi

const std::vector<std::vector<libMesh::RealGradient> >* AMP::Operator::DiffusionElement::d_dphi
protectedinherited

◆ d_elem

const libMesh::Elem* AMP::Operator::DiffusionElement::d_elem
protectedinherited

Definition at line 50 of file DiffusionElement.h.

◆ d_elementStiffnessMatrix

std::vector<std::vector<double> >* AMP::Operator::DiffusionLinearElement::d_elementStiffnessMatrix
protected

Definition at line 37 of file DiffusionLinearElement.h.

Referenced by setElementStiffnessMatrix().

◆ d_fe

std::shared_ptr<libMesh::FEBase> AMP::Operator::DiffusionElement::d_fe
protectedinherited

◆ d_feType

std::shared_ptr<libMesh::FEType> AMP::Operator::DiffusionElement::d_feType
protectedinherited

Definition at line 38 of file DiffusionElement.h.

◆ d_JxW

const std::vector<libMesh::Real>* AMP::Operator::DiffusionElement::d_JxW
protectedinherited

◆ d_localVecs

std::map<std::string, std::vector<double> > AMP::Operator::DiffusionLinearElement::d_localVecs
protected

Definition at line 41 of file DiffusionLinearElement.h.

Referenced by setElementVectors().

◆ d_phi

const std::vector<std::vector<libMesh::Real> >* AMP::Operator::DiffusionElement::d_phi
protectedinherited

Definition at line 46 of file DiffusionElement.h.

◆ d_qrule

std::shared_ptr<libMesh::QBase> AMP::Operator::DiffusionElement::d_qrule
protectedinherited

Definition at line 42 of file DiffusionElement.h.

◆ d_transportAtGauss

bool AMP::Operator::DiffusionLinearElement::d_transportAtGauss
protected

Definition at line 39 of file DiffusionLinearElement.h.

Referenced by DiffusionLinearElement().

◆ d_transportModel

std::shared_ptr<DiffusionTransportModel> AMP::Operator::DiffusionElement::d_transportModel
protectedinherited

Definition at line 52 of file DiffusionElement.h.

◆ d_transportTensorModel

std::shared_ptr<DiffusionTransportTensorModel> AMP::Operator::DiffusionElement::d_transportTensorModel
protectedinherited

Definition at line 53 of file DiffusionElement.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