Advanced Multi-Physics (AMP)
On-Line Documentation
Namespaces | Functions
testSolverHelpers.h File Reference
#include "AMP/mesh/Mesh.h"
#include "AMP/utils/UnitTest.h"
#include <functional>
Include dependency graph for testSolverHelpers.h:

Go to the source code of this file.

Namespaces

namespace  AMP
 
namespace  AMP::Discretization
 
namespace  AMP::LinearAlgebra
 
namespace  AMP::Solver
 

Functions

bool checkAnalyticalSolution (const std::string &exeName, std::function< double(double, double, double)> fun, const AMP::Mesh::MeshIterator &iterator, std::shared_ptr< const AMP::LinearAlgebra::Vector > vec)
 
void checkConvergence (AMP::Solver::SolverStrategy *solver, std::shared_ptr< const AMP::Database > input_db, const std::string &inputFile, AMP::UnitTest &ut)
 
std::shared_ptr< AMP::LinearAlgebra::VectorconstructNeutronicsPowerSource (std::shared_ptr< AMP::Database > input_db, std::shared_ptr< AMP::Mesh::Mesh > mesh)
 
std::shared_ptr< AMP::Mesh::MeshcreateMesh (std::shared_ptr< AMP::Database > input_db)
 
std::tuple< int, double, double, bool > get_regression_solution (std::shared_ptr< const AMP::Database > input_db)
 
std::pair< std::shared_ptr< AMP::Discretization::DOFManager >, std::shared_ptr< AMP::Discretization::DOFManager > > getDofMaps (std::shared_ptr< const AMP::Mesh::Mesh > mesh)
 

Function Documentation

◆ checkAnalyticalSolution()

bool checkAnalyticalSolution ( const std::string &  exeName,
std::function< double(double, double, double)>  fun,
const AMP::Mesh::MeshIterator iterator,
std::shared_ptr< const AMP::LinearAlgebra::Vector vec 
)

◆ checkConvergence()

void checkConvergence ( AMP::Solver::SolverStrategy solver,
std::shared_ptr< const AMP::Database input_db,
const std::string &  inputFile,
AMP::UnitTest ut 
)

◆ constructNeutronicsPowerSource()

std::shared_ptr< AMP::LinearAlgebra::Vector > constructNeutronicsPowerSource ( std::shared_ptr< AMP::Database input_db,
std::shared_ptr< AMP::Mesh::Mesh mesh 
)

◆ createMesh()

std::shared_ptr< AMP::Mesh::Mesh > createMesh ( std::shared_ptr< AMP::Database input_db)

◆ get_regression_solution()

std::tuple< int, double, double, bool > get_regression_solution ( std::shared_ptr< const AMP::Database input_db)

◆ getDofMaps()

std::pair< std::shared_ptr< AMP::Discretization::DOFManager >, std::shared_ptr< AMP::Discretization::DOFManager > > getDofMaps ( std::shared_ptr< const AMP::Mesh::Mesh mesh)



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