PetscArguments Class Reference

#include <PetscArguments.hpp>

Collaboration diagram for PetscArguments:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static PetscArgumentsInstance ()

Public Attributes

int * p_argc
char *** p_argv

Private Member Functions

 PetscArguments ()
 PetscArguments (const PetscArguments &)
PetscArgumentsoperator= (const PetscArguments &)

Static Private Attributes

static PetscArgumentsmpInstance = NULL


Detailed Description

A convenient holder for the command line arguments.

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

The number of command line arguments.

Definition at line 43 of file PetscArguments.hpp.

Referenced by PetscSetup::setUpWorld().

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().


The documentation for this class was generated from the following files:

Generated on Tue Aug 4 16:11:37 2009 for Chaste by  doxygen 1.5.5