/[escript]/5.2/trilinoswrap/SConscript
ViewVC logotype

Annotation of /5.2/trilinoswrap/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6174 - (hide annotations)
Fri Apr 15 03:41:03 2016 UTC (5 years, 3 months ago) by caltinay
Original Path: trunk/trilinoswrap/SConscript
File size: 697 byte(s)
Some reorganisation of EscriptParams and related changes.
We now distinguish between modifiable parameters and build features.
To interrogate the latter use:
escript::hasFeature()  [ python: escript.hasFeature() ]
and
escript::listFeatures() [ python: escript.listFeatures() ]

I have decided to add specific getters for the remaining few parameters to
avoid the penalty of string comparisons and to remove the wealth of friend
declarations with Data* classes.

Also made some changes in SConstruct to make sure we set *all* preprocessor
directives *before* building anything.

Still to do is dealing with checks for direct solver and gmsh. The latter needs
to be a runtime check rather than a compile time check.

1 caltinay 6174 ##############################################################################
2     #
3     # Copyright (c) 2003-2016 by The University of Queensland
4     # http://www.uq.edu.au
5     #
6     # Primary Business: Queensland, Australia
7     # Licensed under the Apache License, version 2.0
8     # http://www.apache.org/licenses/LICENSE-2.0
9     #
10     # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
11     # Development 2012-2013 by School of Earth Sciences
12     # Development from 2014 by Centre for Geoscience Computing (GeoComp)
13     #
14     ##############################################################################
15    
16     Import('env')
17     if env['trilinos']:
18     # configure C++ library
19     env.SConscript('src/SConscript', duplicate=0)
20    

  ViewVC Help
Powered by ViewVC 1.1.26