/[escript]/branches/numpy/escript/src/BufferGroup.cpp
ViewVC logotype

Contents of /branches/numpy/escript/src/BufferGroup.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2396 - (show annotations)
Thu Apr 23 23:58:29 2009 UTC (9 years, 11 months ago) by jfenwick
File size: 690 byte(s)
Branching to port escript to use numpy rather than numarray

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