TrilinosCouplings  Development
 All Classes Namespaces Files Functions Pages
Namespaces | Functions
TrilinosCouplings_IntrepidPoissonExampleHelpers.hpp File Reference

Helper functions for Poisson test problem with Intrepid + Pamgen. More...

#include <Teuchos_CommandLineProcessor.hpp>
#include <string>
Include dependency graph for TrilinosCouplings_IntrepidPoissonExampleHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 IntrepidPoissonExample
 Intrepid Poisson test problem example: common functionality.
 

Functions

double TrilinosCouplings::IntrepidPoissonExample::getMaterialTensorOffDiagonalValue ()
 Get off-diagonal value for material tensor. More...
 
void TrilinosCouplings::IntrepidPoissonExample::setMaterialTensorOffDiagonalValue (const double newVal)
 Set off-diagonal value for material tensor. More...
 
void TrilinosCouplings::IntrepidPoissonExample::setDiffusionRotationAndStrength (const std::vector< double > &diff_rotation_angle, const std::vector< double > &diff_strength)
 Set parameters for anisotropic diffusion. More...
 
const std::vector< double > & TrilinosCouplings::IntrepidPoissonExample::getDiffusionMatrix ()
 Gets the diffusion Tensor.
 
const std::vector< double > & TrilinosCouplings::IntrepidPoissonExample::getDiffusionMatrix2D ()
 Gets the 2D diffusion Tensor (for 2D problems)
 
bool TrilinosCouplings::IntrepidPoissonExample::useDiffusionMatrix ()
 Use the diffusion tensor rather than the off-diagonal values.
 
std::string TrilinosCouplings::IntrepidPoissonExample::makeMeshInput (const int nx, const int ny, const int nz)
 Make a Pamgen mesh specification for the Poisson test problem. More...
 
void TrilinosCouplings::IntrepidPoissonExample::setCommandLineArgumentDefaults (int &nx, int &ny, int &nz, std::string &xmlInputParamsFile, std::string &solverName, bool &verbose, bool &debug)
 Set default command-line argument values for Poisson test problem. More...
 
void TrilinosCouplings::IntrepidPoissonExample::setUpCommandLineArguments (Teuchos::CommandLineProcessor &cmdp, int &nx, int &ny, int &nz, std::string &xmlInputParamsFile, std::string &solverName, double &tol, int &maxNumIters, bool &verbose, bool &debug)
 Prepare for parsing command-line arguments. More...
 
void TrilinosCouplings::IntrepidPoissonExample::parseCommandLineArguments (Teuchos::CommandLineProcessor &cmdp, bool &printedHelp, int argc, char *argv[], int &nx, int &ny, int &nz, std::string &xmlInputParamsFile, std::string &solverName, bool &verbose, bool &debug)
 Parse and partially validate the command-line arguments. More...
 

Detailed Description

Helper functions for Poisson test problem with Intrepid + Pamgen.

This directory contains two versions of a Poisson test problem that uses Intrepid to generate a finite element discretization on a Pamgen-generated mesh. One version uses Epetra, and the other uses Tpetra. This header file contains utility functions that are useful for both versions.