Go to the documentation of this file.
20 #ifndef LIBMESH_LIBMESH_H
21 #define LIBMESH_LIBMESH_H
25 #include "libmesh/libmesh_common.h"
26 #include "libmesh/libmesh_base.h"
28 #ifdef LIBMESH_FORWARD_DECLARE_ENUMS
34 #include "libmesh/enum_solver_package.h"
42 #if defined(LIBMESH_HAVE_MPI) && defined(LIBMESH_HAVE_VTK)
43 class vtkMPIController;
86 #ifdef LIBMESH_HAVE_MPI
101 MPI_Comm COMM_WORLD_IN=MPI_COMM_WORLD);
122 const Parallel::Communicator &
comm()
const {
return *
_comm; }
129 #if defined(LIBMESH_HAVE_MPI) && defined(LIBMESH_HAVE_VTK)
186 template <
typename T>
188 template <
typename T>
204 template <
typename T>
214 template <
typename T>
220 #ifdef LIBMESH_USE_COMPLEX_NUMBERS
238 static_cast<Real>(3.1415926535897932384626433832795029L);
253 #endif // LIBMESH_LIBMESH_H
SolverPackage
Defines an enum for various linear solver packages.
const unsigned int invalid_uint
A number which is used quite often to represent an invalid or uninitialized value.
T command_line_next(std::string name, T default_value)
Use GetPot's search()/next() functions to get following arguments from the command line.
The libMesh namespace provides an interface to certain functionality in the library.
void enableSEGV(bool on)
Toggle libMesh reporting of segmentation faults.
SolverPackage default_solver_package()
Parallel::Communicator & comm()
const Number imaginary
The imaginary unit, .
T command_line_value(const std::string &, T)
The LibMeshInit class, when constructed, initializes the dependent libraries (e.g.
void enableFPE(bool on)
Toggle hardware trap floating point exceptions.
bool initialized()
Checks that library initialization has been done.
void command_line_vector(const std::string &, std::vector< T > &)
Parallel::Communicator * _comm
vtkMPIController * _vtk_mpi_controller
bool on_command_line(std::string arg)
virtual ~LibMeshInit()
Destructor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Parallel::Communicator & comm() const
Returns the Communicator created by this libMesh object, which will be a compatibility shim if MPI is...
LibMeshInit(int argc, const char *const *argv, MPI_Comm COMM_WORLD_IN=MPI_COMM_WORLD)
Initialize the library for use, with the command line options provided.
void ErrorVector unsigned int
std::string name(const ElemQuality q)
This function returns a string containing some name for q.
bool closed()
Checks that the library has been closed.