/[escript]/trunk/ripley/src/WaveAssembler2D.h
ViewVC logotype

Contents of /trunk/ripley/src/WaveAssembler2D.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4657 - (show annotations)
Thu Feb 6 06:12:20 2014 UTC (5 years, 7 months ago) by jfenwick
File MIME type: text/plain
File size: 3013 byte(s)
I changed some files.
Updated copyright notices, added GeoComp.



1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2014 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 #ifndef __WAVE_ASSEMBLER2D_H__
17 #define __WAVE_ASSEMBLER2D_H__
18
19 #include <map>
20 #include <escript/Data.h>
21 #include <ripley/Ripley.h>
22 #include <ripley/RipleyException.h>
23 #include <ripley/AbstractAssembler.h>
24 #include <ripley/Rectangle.h>
25
26 namespace ripley {
27
28
29 class WaveAssembler2D : public AbstractAssembler {
30 public:
31 WaveAssembler2D(Rectangle *dom, double *m_dx, dim_t *m_NX, dim_t *m_NE,
32 dim_t *m_NN, std::map<std::string, escript::Data> c);
33 ~WaveAssembler2D(){};
34
35 /* The only assembly function we care about right now*/
36 void assemblePDESystem(Paso_SystemMatrix* mat, escript::Data& rhs,
37 std::map<std::string, escript::Data> coefs) const;
38
39
40 void assemblePDESingle(Paso_SystemMatrix* mat, escript::Data& rhs,
41 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
42 void assemblePDEBoundarySingle(Paso_SystemMatrix* mat, escript::Data& rhs,
43 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
44 void assemblePDESingleReduced(Paso_SystemMatrix* mat, escript::Data& rhs,
45 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
46 void assemblePDEBoundarySingleReduced(Paso_SystemMatrix* mat,
47 escript::Data& rhs,
48 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
49 void assemblePDEBoundarySystem(Paso_SystemMatrix* mat, escript::Data& rhs,
50 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
51 void assemblePDESystemReduced(Paso_SystemMatrix* mat, escript::Data& rhs,
52 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
53 void assemblePDEBoundarySystemReduced(Paso_SystemMatrix* mat,
54 escript::Data& rhs,
55 std::map<std::string, escript::Data> coefs) const {throw RipleyException("This assembly not supported by this assembler");}
56
57 private:
58 std::map<std::string, escript::Data> c;
59 Rectangle *domain;
60 double *m_dx;
61 dim_t *m_NX;
62 dim_t *m_NE;
63 dim_t *m_NN;
64 escript::Data c11, c12, c13, c33, c44, c66;
65 };
66
67 }
68
69
70 #endif

  ViewVC Help
Powered by ViewVC 1.1.26