#include "Epetra_SerialComm.h"
#include "Teuchos_DefaultSerialComm.hpp"
#include "Teuchos_RCP.hpp"
Go to the source code of this file.
Namespaces | |
namespace | Albany |
Albany driver code, problems, discretizations, and responses. | |
Defines | |
#define | Albany_MPI_Comm int |
#define | Albany_MPI_COMM_WORLD 0 |
#define | Albany_MPI_COMM_NULL 99 |
Functions | |
const int | Albany::getMpiCommFromEpetraComm (const Epetra_Comm &ec) |
int | Albany::getMpiCommFromEpetraComm (Epetra_Comm &ec) |
Teuchos::RCP< Epetra_Comm > | Albany::createEpetraCommFromMpiComm (const int &mc) |
Teuchos::RCP< Teuchos::Comm < int > > | Albany::createTeuchosCommFromMpiComm (const int &mc) |
std::string | Albany::strint (const std::string s, const int i) |
Utility to make a string out of a string + int: strint("dog",2) = "dog 2". | |
bool | Albany::isValidInitString (const std::string &initString) |
Returns true of the given string is a valid initialization string of the format "initial value 1.54". | |
std::string | Albany::doubleToInitString (double val) |
Converts a double to an initialization string: doubleToInitString(1.54) = "initial value 1.54". | |
double | Albany::initStringToDouble (const std::string &initString) |
Converts an init string to a double: initStringToDouble("initial value 1.54") = 1.54. | |
void | Albany::splitStringOnDelim (const std::string &s, char delim, std::vector< std::string > &elems) |
Splits a std::string on a delimiter. |
#define Albany_MPI_Comm int |
Definition at line 17 of file Albany_Utils.hpp.
#define Albany_MPI_COMM_WORLD 0 |
Definition at line 18 of file Albany_Utils.hpp.
#define Albany_MPI_COMM_NULL 99 |
Definition at line 19 of file Albany_Utils.hpp.