#include <PetscArguments.hpp>
Static Public Member Functions | |
static PetscArguments * | Instance () |
Public Attributes | |
int * | p_argc |
char *** | p_argv |
Private Member Functions | |
PetscArguments () | |
PetscArguments (const PetscArguments &) | |
PetscArguments & | operator= (const PetscArguments &) |
Static Private Attributes | |
static PetscArguments * | mpInstance = NULL |
The cxxtest harness will fill in the member variables when a test is started. They can then be read by PETSc when it is initialised.
Definition at line 38 of file PetscArguments.hpp.
PetscArguments::PetscArguments | ( | ) | [private] |
Default constructor. Should never be called directly, call PetscArguments::Instance() instead.
Definition at line 34 of file PetscArguments.cpp.
References mpInstance.
PetscArguments::PetscArguments | ( | const PetscArguments & | ) | [private] |
Copy constructor.
PetscArguments * PetscArguments::Instance | ( | ) | [static] |
Get the single instance of this class.
Definition at line 42 of file PetscArguments.cpp.
References mpInstance.
Referenced by PetscSetup::setUpWorld().
PetscArguments& PetscArguments::operator= | ( | const PetscArguments & | ) | [private] |
Overloaded assignement operator.
The number of command line arguments.
Definition at line 43 of file PetscArguments.hpp.
Referenced by PetscSetup::setUpWorld().
char*** PetscArguments::p_argv |
The arguments themselves.
Definition at line 46 of file PetscArguments.hpp.
Referenced by PetscSetup::setUpWorld().
PetscArguments * PetscArguments::mpInstance = NULL [static, private] |
The single instance of the class.
Definition at line 63 of file PetscArguments.hpp.
Referenced by Instance(), and PetscArguments().