Browse Source

Removed unnecessary files.

readMeshtools
M. Andy Kass 8 years ago
parent
commit
02d4f01e89
4 changed files with 0 additions and 236 deletions
  1. 0
    47
      include/exceptions.h
  2. 0
    87
      include/grid.h
  3. 0
    47
      src/exceptions.cpp
  4. 0
    55
      src/grid.cpp

+ 0
- 47
include/exceptions.h View File

@@ -1,47 +0,0 @@
1
-// ===========================================================================
2
-// 
3
-//       Filename:  exceptions.h
4
-// 
5
-//    Description:  Exception classes
6
-// 
7
-//        Version:  0.0
8
-//        Created:  03/19/2013 12:22:19 PM
9
-//       Revision:  none
10
-//       Compiler:  Tested with g++ 
11
-// 
12
-//         Author:  M. Andy Kass (MAK)
13
-//
14
-//   Organisation:  US Geological Survey
15
-//                  
16
-//
17
-//          Email:  mkass@usgs.gov
18
-// 
19
-//  This program is free software: you can redistribute it and/or modify
20
-//  it under the terms of the GNU General Public License as published by
21
-//  the Free Software Foundation, either version 3 of the License, or
22
-//  (at your option) any later version.
23
-//
24
-//  This program is distributed in the hope that it will be useful,
25
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
26
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
-//  GNU General Public License for more details.
28
-//
29
-//  You should have received a copy of the GNU General Public License
30
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
31
-//
32
-// ===========================================================================
33
-
34
-#ifndef __exceptions_h
35
-#define __exceptions_h
36
-
37
-#include "formalhaut.h"
38
-
39
-namespace formalhaut {
40
-
41
-/// Generic file I/O error
42
-class GenericFileIOError : public std::runtime_error {
43
-	public: GenericFileIOError(const std::string &filename);
44
-};
45
-
46
-} //end of namespace formalhaut
47
-#endif

+ 0
- 87
include/grid.h View File

@@ -1,87 +0,0 @@
1
-// ===========================================================================
2
-//
3
-//       Filename:  grid.h
4
-//
5
-//    Description:
6
-//
7
-//        Version:  0.0
8
-//        Created:  10/25/2009 07:38:32 AM
9
-//       Revision:  none
10
-//       Compiler:  g++ (c++)
11
-//
12
-//         Author:  Trevor Irons (ti)
13
-//         			M. Andy Kass (MAK)
14
-//
15
-//   Organisation:  Colorado School of Mines (CSM)
16
-//                  United States Geological Survey (USGS)
17
-//
18
-//          Email:  tirons@mines.edu, tirons@usgs.gov
19
-//
20
-//  This program is free software: you can redistribute it and/or modify
21
-//  it under the terms of the GNU General Public License as published by
22
-//  the Free Software Foundation, either version 3 of the License, or
23
-//  (at your option) any later version.
24
-//
25
-//  This program is distributed in the hope that it will be useful,
26
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
27
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
-//  GNU General Public License for more details.
29
-//
30
-//  You should have received a copy of the GNU General Public License
31
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
32
-//
33
-// ===========================================================================
34
-
35
-#ifndef __GRID_H
36
-#define __GRID_H
37
-#include "formalhaut.h"
38
-
39
-namespace formalhaut {
40
-
41
-// ===============================================================================
42
-//        Class:  Grid
43
-/// \brief Abstract base class for grids.
44
-/// \details Grids define values in space, they may either be an integral part
45
-/// of models, or simply the output of a forward modelling procedure.
46
-// ===============================================================================
47
-
48
-class Grid {
49
-
50
-    friend std::ostream &operator<<(std::ostream &stream,
51
-            const Grid &ob);
52
-
53
-    public:
54
-
55
-    // ====================  LIFECYCLE     ===================================
56
-
57
-    // ====================  OPERATORS     ===================================
58
-
59
-    // ====================  OPERATIONS    ===================================
60
-
61
-    // ====================  ACCESS        ===================================
62
-
63
-    // ====================  INQUIRY       ===================================
64
-
65
-	gridtype GetGridType();
66
-
67
-    protected:
68
-
69
-    // ====================  LIFECYCLE     ===================================
70
-
71
-    /// Default protected constructor.
72
-    Grid ();
73
-
74
-    /// Default protected constructor.
75
-    ~Grid ();
76
-
77
-    // ====================  DATA MEMBERS  ===================================
78
-
79
-	gridtype TypeOfGrid;
80
-
81
-    private:
82
-
83
-}; // -----  end of class  Grid  -----
84
-
85
-
86
-} // namespace formalhaut
87
-#endif

+ 0
- 47
src/exceptions.cpp View File

@@ -1,47 +0,0 @@
1
-// ===========================================================================
2
-// 
3
-//       Filename:  exceptions.cpp
4
-// 
5
-//    Description:  Holds the exceptions for the project
6
-// 
7
-//        Version:  0.0
8
-//        Created:  03/19/2013 12:18:41 PM
9
-//       Revision:  none
10
-//       Compiler:  Tested with g++ 
11
-// 
12
-//         Author:  M. Andy Kass (MAK)
13
-//
14
-//   Organisation:  US Geological Survey
15
-//                  
16
-//
17
-//          Email:  mkass@usgs.gov
18
-// 
19
-//  This program is free software: you can redistribute it and/or modify
20
-//  it under the terms of the GNU General Public License as published by
21
-//  the Free Software Foundation, either version 3 of the License, or
22
-//  (at your option) any later version.
23
-//
24
-//  This program is distributed in the hope that it will be useful,
25
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
26
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
-//  GNU General Public License for more details.
28
-//
29
-//  You should have received a copy of the GNU General Public License
30
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
31
-//
32
-// ===========================================================================
33
-
34
-#include "exceptions.h"
35
-
36
-namespace formalhaut {
37
-
38
-	GenericFileIOError::GenericFileIOError(const std::string &filename) :
39
-			runtime_error("FILE I/O ERROR"){
40
-				std::cout << std::endl;
41
-				std::cout << "File I/O error while accessing " << 
42
-					filename << "." << std::endl;
43
-				std::cout << "Terminating." << std::endl;
44
-			}
45
-
46
-} // End of namespace formalhaut
47
-

+ 0
- 55
src/grid.cpp View File

@@ -1,55 +0,0 @@
1
-// ===========================================================================
2
-// 
3
-//       Filename:  grid.cpp
4
-// 
5
-//    Description:  
6
-// 
7
-//        Version:  0.0
8
-//        Created:  10/25/2009 07:42:08 AM
9
-//       Revision:  none
10
-//       Compiler:  g++ (c++)
11
-// 
12
-//         Author:  M. Andy Kass (MAK)
13
-//                  Trevor Irons (ti)
14
-//
15
-//   Organisation:  United States Geological Survey (USGS)
16
-//
17
-//          Email:  mkass@usgs.gov
18
-// 
19
-//  This program is free software: you can redistribute it and/or modify
20
-//  it under the terms of the GNU General Public License as published by
21
-//  the Free Software Foundation, either version 3 of the License, or
22
-//  (at your option) any later version.
23
-//
24
-//  This program is distributed in the hope that it will be useful,
25
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
26
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
-//  GNU General Public License for more details.
28
-//
29
-//  You should have received a copy of the GNU General Public License
30
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
31
-//
32
-// ===========================================================================
33
-
34
-#include "grid.h"
35
-
36
-namespace formalhaut {
37
-
38
-	std::ostream &operator<<(std::ostream &stream, 
39
-				const Grid &ob) {
40
-		stream << "Class: Grid\n";
41
-		//stream << *(ReferenceCountedObject*)(&ob);
42
-		return stream;
43
-	}
44
-
45
-	Grid::Grid  ( ) {
46
-	}
47
-	
48
-	Grid::~Grid  ( ) {
49
-	}
50
-
51
-	gridtype Grid::GetGridType() {
52
-		return this->TypeOfGrid;
53
-	}
54
-
55
-}

Loading…
Cancel
Save