/[escript]/trunk/escript/src/BufferGroup.cpp
ViewVC logotype

Contents of /trunk/escript/src/BufferGroup.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2278 - (show annotations)
Tue Feb 17 07:39:16 2009 UTC (10 years, 8 months ago) by gross
File size: 690 byte(s)
for some reason my gcc version requires NL at the end of the source files.
1
2 /*******************************************************
3 *
4 * Copyright (c) 2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 /** \file BufferGroup.cpp */
16
17 #include "BufferGroup.h"
18
19 using namespace escript;
20
21 BufferGroup::BufferGroup(size_t buffersize,size_t numbuffs)
22 : m_vec(numbuffs*buffersize,0,1),m_numbuffs(numbuffs),m_step(buffersize)
23 {
24 }
25
26 BufferGroup::~BufferGroup()
27 { // DataVector can deallocate itself
28 }
29

  ViewVC Help
Powered by ViewVC 1.1.26