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

#include <SourcePhysicsModel.h>

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

Public Member Functions

void getConstitutiveProperty (std::vector< double > &result, const std::vector< std::vector< double > > &InputVec, const std::vector< std::vector< double > > &, const std::vector< libMesh::Point > &Coordinates)
 
virtual void setDebugPrintInfoLevel (int print_level)
 
 SourcePhysicsModel (std::shared_ptr< const SourcePhysicsModelParameters > params)
 
virtual ~SourcePhysicsModel ()
 

Protected Attributes

double d_constantProperty
 
int d_iDebugPrintInfoLevel
 
std::shared_ptr< AMP::Materials::Materiald_material
 
std::string d_physicsName
 
std::shared_ptr< AMP::Materials::Propertyd_property
 
bool d_useMaterialsLibrary
 

Private Attributes

double d_DefaultBurnup
 
double d_DefaultConcentration
 
std::vector< double > d_defaults
 
double d_DefaultTemperature
 
std::shared_ptr< ElementPhysicsModeld_elementPhysicsModel
 
std::shared_ptr< ElementPhysicsModelParametersd_elementPhysicsParams
 
std::map< std::string, std::shared_ptr< std::vector< double > > > d_inputMaterialParameters
 

Detailed Description

This class acts a interface to various ElementPhysicsModel and also for source fuction evaluation for the VolumeIntegral Operator. The Element Operation of this operator passes the input vectors and coordinates through the getConstitutiveProperty function for calculating the source terms.

Definition at line 31 of file SourcePhysicsModel.h.

Constructor & Destructor Documentation

◆ SourcePhysicsModel()

AMP::Operator::SourcePhysicsModel::SourcePhysicsModel ( std::shared_ptr< const SourcePhysicsModelParameters params)
explicit

This Constructor reads the value for the key USE_MATERIALS_LIBRARY (false by default) and also USE_ELEMENT_PHYSICS from the database. These specify if material library or the element physics model are used for calculating the source terms.

◆ ~SourcePhysicsModel()

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

Destructor.

Definition at line 44 of file SourcePhysicsModel.h.

Member Function Documentation

◆ getConstitutiveProperty()

void AMP::Operator::SourcePhysicsModel::getConstitutiveProperty ( std::vector< double > &  result,
const std::vector< std::vector< double > > &  InputVec,
const std::vector< std::vector< double > > &  ,
const std::vector< libMesh::Point > &  Coordinates 
)

◆ setDebugPrintInfoLevel()

virtual void AMP::Operator::ElementPhysicsModel::setDebugPrintInfoLevel ( int  print_level)
inlinevirtualinherited

Specify level of diagnostic information printed during iterations.

Parameters
[in]print_levelzero prints none or minimal information, higher numbers provide increasingly verbose debugging information.

Definition at line 36 of file ElementPhysicsModel.h.

References AMP::Operator::ElementPhysicsModel::d_iDebugPrintInfoLevel.

Member Data Documentation

◆ d_constantProperty

double AMP::Operator::SourcePhysicsModel::d_constantProperty
protected

Definition at line 55 of file SourcePhysicsModel.h.

◆ d_DefaultBurnup

double AMP::Operator::SourcePhysicsModel::d_DefaultBurnup
private

Definition at line 64 of file SourcePhysicsModel.h.

◆ d_DefaultConcentration

double AMP::Operator::SourcePhysicsModel::d_DefaultConcentration
private

Definition at line 63 of file SourcePhysicsModel.h.

◆ d_defaults

std::vector<double> AMP::Operator::SourcePhysicsModel::d_defaults
private

Definition at line 66 of file SourcePhysicsModel.h.

◆ d_DefaultTemperature

double AMP::Operator::SourcePhysicsModel::d_DefaultTemperature
private

Definition at line 62 of file SourcePhysicsModel.h.

◆ d_elementPhysicsModel

std::shared_ptr<ElementPhysicsModel> AMP::Operator::SourcePhysicsModel::d_elementPhysicsModel
private

Definition at line 68 of file SourcePhysicsModel.h.

◆ d_elementPhysicsParams

std::shared_ptr<ElementPhysicsModelParameters> AMP::Operator::SourcePhysicsModel::d_elementPhysicsParams
private

Definition at line 69 of file SourcePhysicsModel.h.

◆ d_iDebugPrintInfoLevel

int AMP::Operator::ElementPhysicsModel::d_iDebugPrintInfoLevel
protectedinherited

Variable that controls the amount of diagnostic information that gets printed within this material model.

Definition at line 39 of file ElementPhysicsModel.h.

Referenced by AMP::Operator::ElementPhysicsModel::ElementPhysicsModel(), and AMP::Operator::ElementPhysicsModel::setDebugPrintInfoLevel().

◆ d_inputMaterialParameters

std::map<std::string, std::shared_ptr<std::vector<double> > > AMP::Operator::SourcePhysicsModel::d_inputMaterialParameters
private

Definition at line 72 of file SourcePhysicsModel.h.

◆ d_material

std::shared_ptr<AMP::Materials::Material> AMP::Operator::SourcePhysicsModel::d_material
protected

Definition at line 57 of file SourcePhysicsModel.h.

◆ d_physicsName

std::string AMP::Operator::SourcePhysicsModel::d_physicsName
protected

Definition at line 54 of file SourcePhysicsModel.h.

◆ d_property

std::shared_ptr<AMP::Materials::Property> AMP::Operator::SourcePhysicsModel::d_property
protected

Definition at line 59 of file SourcePhysicsModel.h.

◆ d_useMaterialsLibrary

bool AMP::Operator::SourcePhysicsModel::d_useMaterialsLibrary
protected

Definition at line 52 of file SourcePhysicsModel.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