Advanced Multi-Physics (AMP)
On-Line Documentation
SolveThermal.h
Go to the documentation of this file.
1#ifndef included_AMP_SolveThermal
2#define included_AMP_SolveThermal
3
4
5#include "AMP/mesh/Mesh.h"
6#include "AMP/operators/Operator.h"
7#include "AMP/vectors/Vector.h"
8
9#include <string>
10#include <tuple>
11
12
14
15
16// Integrate a nodal or gauss point source vector to a nodal source vector
17std::shared_ptr<AMP::LinearAlgebra::Vector>
18integrateSourceVector( std::shared_ptr<AMP::Mesh::Mesh> mesh,
19 std::shared_ptr<const AMP::LinearAlgebra::Vector> src,
20 std::string srcName = "",
21 std::string dstName = "" );
22
23
24// Solve for the temperature
25std::tuple<std::shared_ptr<AMP::LinearAlgebra::Vector>, std::shared_ptr<AMP::Operator::Operator>>
26solveTemperature( std::shared_ptr<AMP::Mesh::Mesh> mesh,
27 std::shared_ptr<const AMP::LinearAlgebra::Vector> rhs,
28 std::shared_ptr<const AMP::Database> arguments,
29 std::shared_ptr<const AMP::LinearAlgebra::Vector> initialGuess = nullptr );
30
31
32// Create the non-linear coupled thermal operator
33std::tuple<std::shared_ptr<AMP::Operator::Operator>, std::shared_ptr<AMP::LinearAlgebra::Vector>>
34createThermalOperatorsFE( std::shared_ptr<AMP::Mesh::Mesh> mesh,
35 std::shared_ptr<const AMP::Database> input_db );
36
37
38} // namespace AMP::applications
39
40#endif
std::shared_ptr< AMP::LinearAlgebra::Vector > integrateSourceVector(std::shared_ptr< AMP::Mesh::Mesh > mesh, std::shared_ptr< const AMP::LinearAlgebra::Vector > src, std::string srcName="", std::string dstName="")
std::tuple< std::shared_ptr< AMP::LinearAlgebra::Vector >, std::shared_ptr< AMP::Operator::Operator > > solveTemperature(std::shared_ptr< AMP::Mesh::Mesh > mesh, std::shared_ptr< const AMP::LinearAlgebra::Vector > rhs, std::shared_ptr< const AMP::Database > arguments, std::shared_ptr< const AMP::LinearAlgebra::Vector > initialGuess=nullptr)
std::tuple< std::shared_ptr< AMP::Operator::Operator >, std::shared_ptr< AMP::LinearAlgebra::Vector > > createThermalOperatorsFE(std::shared_ptr< AMP::Mesh::Mesh > mesh, std::shared_ptr< const AMP::Database > input_db)



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