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

#include <SubchannelPhysicsModel.h>

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

Public Member Functions

std::shared_ptr< AMP::Materials::MaterialgetMaterial ()
 
void getProperty (const std::string &property, std::vector< double > &result, std::map< std::string, std::shared_ptr< std::vector< double > > > &args)
 
virtual void setDebugPrintInfoLevel (int print_level)
 
 SubchannelPhysicsModel (std::shared_ptr< const ElementPhysicsModelParameters > params)
 
virtual ~SubchannelPhysicsModel ()
 

Protected Attributes

int d_iDebugPrintInfoLevel
 
std::shared_ptr< AMP::Materials::Materiald_material
 
std::map< std::string, std::shared_ptr< AMP::Materials::Property > > d_properties
 

Detailed Description

This class acts a interface to the water material library for the subchannel flow operators.

Definition at line 21 of file SubchannelPhysicsModel.h.

Constructor & Destructor Documentation

◆ SubchannelPhysicsModel()

AMP::Operator::SubchannelPhysicsModel::SubchannelPhysicsModel ( std::shared_ptr< const ElementPhysicsModelParameters params)
explicit

Constructor

◆ ~SubchannelPhysicsModel()

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

Destructor

Definition at line 32 of file SubchannelPhysicsModel.h.

Member Function Documentation

◆ getMaterial()

std::shared_ptr< AMP::Materials::Material > AMP::Operator::SubchannelPhysicsModel::getMaterial ( )
inline

Function to return a pointer to the material

Definition at line 47 of file SubchannelPhysicsModel.h.

References d_material.

◆ getProperty()

void AMP::Operator::SubchannelPhysicsModel::getProperty ( const std::string &  property,
std::vector< double > &  result,
std::map< std::string, std::shared_ptr< std::vector< double > > > &  args 
)

Function to evaluate property functions

Parameters
[in]propertyproperty identifier string
[out]resultoutput vector
[in]argsof input argument strings and input vectors

◆ 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_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_material

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

Definition at line 51 of file SubchannelPhysicsModel.h.

Referenced by getMaterial().

◆ d_properties

std::map<std::string, std::shared_ptr<AMP::Materials::Property> > AMP::Operator::SubchannelPhysicsModel::d_properties
protected

Definition at line 54 of file SubchannelPhysicsModel.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