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


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


Member Data Documentation

The number of command line arguments

Definition at line 42 of file PetscArguments.hpp.

Referenced by PetscSetup::setUpWorld().

The arguments themselves

Definition at line 44 of file PetscArguments.hpp.

Referenced by PetscSetup::setUpWorld().

PetscArguments * PetscArguments::mpInstance = NULL [static, private]

The single instance of the class

Definition at line 55 of file PetscArguments.hpp.

Referenced by Instance().


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

Generated on Wed Mar 18 12:52:47 2009 for Chaste by  doxygen 1.5.5