~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to dolfin/la/EpetraFactory.cpp

  • Committer: Kent-Andre Mardal
  • Date: 2008-05-19 14:21:52 UTC
  • mfrom: (2668.5.1 trunk)
  • mto: (2668.1.16 trunk)
  • mto: This revision was merged to the branch mainline in revision 2670.
  • Revision ID: kent-and@simula.no-20080519142152-7zb7r4htl7111izh
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
  return new EpetraVector(); 
35
35
}
36
36
//-----------------------------------------------------------------------------
37
 
EpetraFactory EpetraFactory::epetrafactory;
38
 
//-----------------------------------------------------------------------------
39
 
Epetra_SerialComm& EpetraFactory::getSerialComm() { return *comm;}; 
40
 
//-----------------------------------------------------------------------------
 
37
Epetra_SerialComm& EpetraFactory::getSerialComm()
 
38
{
 
39
  return *comm;
 
40
};
 
41
//-----------------------------------------------------------------------------
 
42
 
 
43
// Singleton instance
 
44
EpetraFactory EpetraFactory::factory;
 
45
 
41
46
 
42
47
#endif