Advanced Multi-Physics (AMP)
On-Line Documentation
SubchannelPhysicsModel.h
Go to the documentation of this file.
1#ifndef included_AMP_SubchannelPhysicsModel
2#define included_AMP_SubchannelPhysicsModel
3
4#include "AMP/materials/Material.h"
5#include "AMP/operators/ElementPhysicsModel.h"
6#include "AMP/operators/ElementPhysicsModelParameters.h"
7#include <memory>
8
9#include <cstring>
10#include <map>
11#include <vector>
12
13
14namespace AMP::Operator {
15
16
22{
23public:
27 explicit SubchannelPhysicsModel( std::shared_ptr<const ElementPhysicsModelParameters> params );
28
33
40 void getProperty( const std::string &property,
41 std::vector<double> &result,
42 std::map<std::string, std::shared_ptr<std::vector<double>>> &args );
43
47 std::shared_ptr<AMP::Materials::Material> getMaterial() { return d_material; }
48
49protected:
50 // pointer to the material
51 std::shared_ptr<AMP::Materials::Material> d_material;
52
53 // map of property identifier strings and property pointers
54 std::map<std::string, std::shared_ptr<AMP::Materials::Property>> d_properties;
55};
56} // namespace AMP::Operator
57
58#endif
std::shared_ptr< AMP::Materials::Material > d_material
std::shared_ptr< AMP::Materials::Material > getMaterial()
std::map< std::string, std::shared_ptr< AMP::Materials::Property > > d_properties
SubchannelPhysicsModel(std::shared_ptr< const ElementPhysicsModelParameters > params)
void getProperty(const std::string &property, std::vector< double > &result, std::map< std::string, std::shared_ptr< std::vector< double > > > &args)



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:41.
Comments on this page