New_Package Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
Newp_Hello.h
Go to the documentation of this file.
1
2
//@HEADER
3
// ***********************************************************************
4
//
5
// New_Package Example Package
6
// Copyright (2004) Sandia Corporation
7
//
8
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
9
// license for use of this work by or on behalf of the U.S. Government.
10
//
11
// This library is free software; you can redistribute it and/or modify
12
// it under the terms of the GNU Lesser General Public License as
13
// published by the Free Software Foundation; either version 2.1 of the
14
// License, or (at your option) any later version.
15
//
16
// This library is distributed in the hope that it will be useful, but
17
// WITHOUT ANY WARRANTY; without even the implied warranty of
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
// Lesser General Public License for more details.
20
//
21
// You should have received a copy of the GNU Lesser General Public
22
// License along with this library; if not, write to the Free Software
23
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
24
// USA
25
// Questions? Contact Michael A. Heroux (maherou@sandia.gov)
26
//
27
// ***********************************************************************
28
//@HEADER
29
30
#ifndef _NEWP_HELLO_H_
31
#define _NEWP_HELLO_H_
32
33
#include "
New_Package_ConfigDefs.h
"
34
#include "
Newp_Hello.h
"
35
36
#ifdef EPETRA_MPI
37
#include "
Epetra_MpiComm.h
"
38
#else
39
#include "
Epetra_SerialComm.h
"
40
#endif
41
#include "
Epetra_Comm.h
"
42
59
class
Newp_Hello
{
60
public
:
61
64
73
Newp_Hello
(
const
Epetra_Comm
& Comm);
74
76
Newp_Hello
(
const
Newp_Hello
& Source);
77
79
virtual
~Newp_Hello
();
80
82
85
87
virtual
void
Print
(ostream & os)
const
;
88
90
91
private
:
92
93
const
Epetra_Comm
*
Comm_
;
// Must be cloned!
94
95
};
96
97
#endif
/* _NEWP_HELLO_H_ */
Newp_Hello::Comm_
const Epetra_Comm * Comm_
Definition:
Newp_Hello.h:93
New_Package_ConfigDefs.h
Epetra_SerialComm.h
Newp_Hello::~Newp_Hello
virtual ~Newp_Hello()
Definition:
Newp_Hello.cpp:40
Epetra_Comm.h
Epetra_Comm
Newp_Hello::Newp_Hello
Newp_Hello(const Epetra_Comm &Comm)
Creates a Newp_Hello object and fills with default values.
Definition:
Newp_Hello.cpp:34
Newp_Hello
A sample class.
Definition:
Newp_Hello.h:59
Newp_Hello::Print
virtual void Print(ostream &os) const
Definition:
Newp_Hello.cpp:43
Newp_Hello.h
Epetra_MpiComm.h
Generated by
1.8.5