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

#include <MassDensityModel.h>

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

Public Types

enum class  ManufacturedEquation {
  ThermalSrc , FickSrc , SoretSrc , FickSoretSrc ,
  UnknownManufacturedEquation
}
 
enum class  MassEquation {
  Mechanics , Thermal , Chemical , Manufactured ,
  UnknownMassEquation
}
 

Public Member Functions

virtual void getDensityChemical (std::vector< double > &result, const std::vector< double > &T, const std::vector< double > &U, const std::vector< double > &B)
 
virtual void getDensityManufactured (std::vector< double > &result, const std::vector< double > &T, const std::vector< double > &U, const std::vector< double > &B, const std::vector< libMesh::Point > &xyz)
 
virtual void getDensityMechanics (std::vector< double > &result, const std::vector< double > &T, const std::vector< double > &U, const std::vector< double > &B)
 
virtual void getDensityThermal (std::vector< double > &result, const std::vector< double > &T, const std::vector< double > &U, const std::vector< double > &B)
 
MassEquation getEquation ()
 
std::shared_ptr< ManufacturedSolutiongetManufacturedSolution ()
 
 MassDensityModel (std::shared_ptr< const MassDensityModelParameters > params)
 
virtual void postLinearAssembly ()
 
virtual void postLinearElementOperation ()
 
virtual void postLinearGaussPointOperation ()
 
virtual void preLinearAssembly ()
 
virtual void preLinearElementOperation ()
 
virtual void preLinearGaussPointOperation ()
 
virtual void setDebugPrintInfoLevel (int print_level)
 
virtual ~MassDensityModel ()
 

Protected Attributes

std::string d_BilogVariable
 the material argument to which the bilogarithmic transformation applies These must be one of the values returned by Material::get_arg_names().
 
MassEquation d_equation
 
int d_iDebugPrintInfoLevel
 
std::shared_ptr< AMP::Materials::Materiald_material
 
bool d_UseBilogScaling
 Use a bilogarithmic scaling of material arguments.
 

Private Attributes

size_t d_BilogIndex
 
std::array< double, 2 > d_BilogRange
 
ManufacturedEquation d_ManufacturedEquation
 
std::shared_ptr< ManufacturedSolutiond_ManufacturedSolution
 
bool d_ManufacturedUseConc
 
bool d_ManufacturedUseTemp
 
std::string d_ManufacturedVariable
 
std::vector< double > d_Parameters
 
std::string d_PropertyName
 

Detailed Description

Definition at line 25 of file MassDensityModel.h.

Member Enumeration Documentation

◆ ManufacturedEquation

Enumerator
ThermalSrc 
FickSrc 
SoretSrc 
FickSoretSrc 
UnknownManufacturedEquation 

Definition at line 32 of file MassDensityModel.h.

◆ MassEquation

Enumerator
Mechanics 
Thermal 
Chemical 
Manufactured 
UnknownMassEquation 

Definition at line 30 of file MassDensityModel.h.

Constructor & Destructor Documentation

◆ MassDensityModel()

AMP::Operator::MassDensityModel::MassDensityModel ( std::shared_ptr< const MassDensityModelParameters params)
explicit

◆ ~MassDensityModel()

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

Definition at line 42 of file MassDensityModel.h.

Member Function Documentation

◆ getDensityChemical()

virtual void AMP::Operator::MassDensityModel::getDensityChemical ( std::vector< double > &  result,
const std::vector< double > &  T,
const std::vector< double > &  U,
const std::vector< double > &  B 
)
virtual

◆ getDensityManufactured()

virtual void AMP::Operator::MassDensityModel::getDensityManufactured ( std::vector< double > &  result,
const std::vector< double > &  T,
const std::vector< double > &  U,
const std::vector< double > &  B,
const std::vector< libMesh::Point > &  xyz 
)
virtual

◆ getDensityMechanics()

virtual void AMP::Operator::MassDensityModel::getDensityMechanics ( std::vector< double > &  result,
const std::vector< double > &  T,
const std::vector< double > &  U,
const std::vector< double > &  B 
)
virtual

◆ getDensityThermal()

virtual void AMP::Operator::MassDensityModel::getDensityThermal ( std::vector< double > &  result,
const std::vector< double > &  T,
const std::vector< double > &  U,
const std::vector< double > &  B 
)
virtual

◆ getEquation()

MassEquation AMP::Operator::MassDensityModel::getEquation ( )
inline

Definition at line 84 of file MassDensityModel.h.

References d_equation.

◆ getManufacturedSolution()

std::shared_ptr< ManufacturedSolution > AMP::Operator::MassDensityModel::getManufacturedSolution ( )
inline

Definition at line 79 of file MassDensityModel.h.

References d_ManufacturedSolution.

◆ postLinearAssembly()

virtual void AMP::Operator::MassDensityModel::postLinearAssembly ( )
inlinevirtual

Definition at line 69 of file MassDensityModel.h.

◆ postLinearElementOperation()

virtual void AMP::Operator::MassDensityModel::postLinearElementOperation ( )
inlinevirtual

Definition at line 73 of file MassDensityModel.h.

◆ postLinearGaussPointOperation()

virtual void AMP::Operator::MassDensityModel::postLinearGaussPointOperation ( )
inlinevirtual

Definition at line 77 of file MassDensityModel.h.

◆ preLinearAssembly()

virtual void AMP::Operator::MassDensityModel::preLinearAssembly ( )
inlinevirtual

Definition at line 67 of file MassDensityModel.h.

◆ preLinearElementOperation()

virtual void AMP::Operator::MassDensityModel::preLinearElementOperation ( )
inlinevirtual

Definition at line 71 of file MassDensityModel.h.

◆ preLinearGaussPointOperation()

virtual void AMP::Operator::MassDensityModel::preLinearGaussPointOperation ( )
inlinevirtual

Definition at line 75 of file MassDensityModel.h.

◆ 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_BilogIndex

size_t AMP::Operator::MassDensityModel::d_BilogIndex
private

Definition at line 108 of file MassDensityModel.h.

◆ d_BilogRange

std::array<double, 2> AMP::Operator::MassDensityModel::d_BilogRange
private

Definition at line 106 of file MassDensityModel.h.

◆ d_BilogVariable

std::string AMP::Operator::MassDensityModel::d_BilogVariable
protected

the material argument to which the bilogarithmic transformation applies These must be one of the values returned by Material::get_arg_names().

Definition at line 101 of file MassDensityModel.h.

◆ d_equation

MassEquation AMP::Operator::MassDensityModel::d_equation
protected

Definition at line 103 of file MassDensityModel.h.

Referenced by getEquation().

◆ 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_ManufacturedEquation

ManufacturedEquation AMP::Operator::MassDensityModel::d_ManufacturedEquation
private

Definition at line 112 of file MassDensityModel.h.

◆ d_ManufacturedSolution

std::shared_ptr<ManufacturedSolution> AMP::Operator::MassDensityModel::d_ManufacturedSolution
private

Definition at line 110 of file MassDensityModel.h.

Referenced by getManufacturedSolution().

◆ d_ManufacturedUseConc

bool AMP::Operator::MassDensityModel::d_ManufacturedUseConc
private

Definition at line 117 of file MassDensityModel.h.

◆ d_ManufacturedUseTemp

bool AMP::Operator::MassDensityModel::d_ManufacturedUseTemp
private

Definition at line 116 of file MassDensityModel.h.

◆ d_ManufacturedVariable

std::string AMP::Operator::MassDensityModel::d_ManufacturedVariable
private

Definition at line 114 of file MassDensityModel.h.

◆ d_material

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

Definition at line 87 of file MassDensityModel.h.

◆ d_Parameters

std::vector<double> AMP::Operator::MassDensityModel::d_Parameters
private

Definition at line 120 of file MassDensityModel.h.

◆ d_PropertyName

std::string AMP::Operator::MassDensityModel::d_PropertyName
private

Definition at line 119 of file MassDensityModel.h.

◆ d_UseBilogScaling

bool AMP::Operator::MassDensityModel::d_UseBilogScaling
protected

Use a bilogarithmic scaling of material arguments.

See documentation for DiffusionTransportModel for background. The Chemical mass matrix is 1 of not scaling.

Definition at line 95 of file MassDensityModel.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