sc::MPQCInit Class Reference

This helper class simplifies initialization of MPQC. More...

#include </home/cljanss/tmp/mpqcdoc/mpqc/src/bin/mpqc/mpqcinit.h>

List of all members.

Public Member Functions

 MPQCInit (GetLongOpt &opt, int &argc, char **argv)
 Create the initializer.
void init_fp ()
 Initialize the floating point control word.
void init_limits ()
 Initialize the resource limits.
sc::Ref< sc::MessageGrpinit_messagegrp ()
 Return the initial MessageGrp object.
sc::Ref< sc::KeyValinit_keyval (const sc::Ref< sc::MessageGrp > &grp, const std::string &filename)
 Return the initial KeyVal object.
sc::Ref< sc::ThreadGrpinit_threadgrp (const sc::Ref< sc::KeyVal > &keyval)
 Return the initial ThreadGrp.
sc::Ref< sc::MemoryGrpinit_memorygrp (sc::Ref< sc::KeyVal > &keyval)
 Return the initial MemoryGrp.
void init_io (const sc::Ref< sc::MessageGrp > &grp)
 Initialize formatted I/O.
void init_integrals (const Ref< KeyVal > &keyval)
 Initialize the default integral factory.
void init_timer (const Ref< MessageGrp > &grp, const Ref< KeyVal > &keyval)
 Initialize the default region timer.
void init_basename (const std::string &input_filename, const std::string &output_filename="")
 Initialize the name used to construct data file names.
sc::Ref< sc::KeyValinit (const std::string &input_filename, const std::string &output_filename="")
 Calls all of the initialize routines in the proper sequence.
void finalize ()
 Clean up at the end of a run.


Detailed Description

This helper class simplifies initialization of MPQC.

Constructor & Destructor Documentation

sc::MPQCInit::MPQCInit ( GetLongOpt opt,
int &  argc,
char **  argv 
)

Create the initializer.

Needed options will be enrolled in the opt object. The parse member of opt must be called after this constructor completes, but before any of the other members of MPQCInit are called.


Member Function Documentation

sc::Ref<sc::KeyVal> sc::MPQCInit::init ( const std::string &  input_filename,
const std::string &  output_filename = "" 
)

Calls all of the initialize routines in the proper sequence.

The parse member for the GetLongOpt object given to the constructor must have been called before this is called.

void sc::MPQCInit::finalize (  ) 

Clean up at the end of a run.

This is called automatically by the destructor.


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

Generated at Sun Feb 22 10:12:24 2009 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.6.
These pages are hosted on SourceForge.net