comparison src/femfenics_factory.cc @ 247:8ca45824938e

Add factories hierarchy for matrices' and vectors' assembly
author Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
date Sat, 12 Jul 2014 12:30:13 +0200
parents
children 8f309b85bb7e
comparison
equal deleted inserted replaced
246:a2991e2a085b 247:8ca45824938e
1 /*
2 Copyright (C) 2014 Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
3
4 This program is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free Software
6 Foundation; either version 3 of the License, or (at your option) any later
7 version.
8
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #include "femfenics_factory.h"
19 #include "uBLAS_factory.h"
20
21 femfenics_base_factory const&
22 femfenics_factory::factory (void) const
23 {
24 //FIXME: Since just one backend has its interface implemented, this method
25 // doesn't check which one to provide, yet
26 return uBLAS_factory::instance ();
27 }