Skip to content

Commit

Permalink
Inital commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-miryanov committed Nov 10, 2009
0 parents commit 0249fcc
Show file tree
Hide file tree
Showing 447 changed files with 88,523 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
*.txt
*.err
*.rat
*.tsl
*.wel
*.out
*.log
*.exe*
*.dll*
*.htm*
*.obj
*.pch*
*.dep
*.idb
*.pdb
*.pyc
*.rst
*.ncb
*.suo
*.user
*.orig
blue-sky
*.dblite
.debug
.release
*.os
*.obj
*.png
*.csv
callgrind*
tags
28 changes: 28 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright (c) 2009, The BS Eagle Project.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the BS Eagle Project nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

30 changes: 30 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
BS Eagle black-oil simulator

The BS Eagle Project (bs-eagle) is an open source black-oil simulator.
The main goal of this project is to provide a free access to the state
of the art oil simulation software to study new methods of oil's
simulation.

The project based on a BlueSky integration platform and
has a modular architecture and open to modifications and extensions.

Current available plugins are:
- linear solvers (gmres, cgs, tfqmr, bicgstab, csr_ilu_prec)
- data storages (hdf5)
- grids (ijk, eclipse)
- wells (full implicit black oil model)
- jacobian's fillers
- array arithmetics

To build bs-eagle you need:
1. BlueSky kernel
2. Python 2.5
3. SCons (or MS Visual Studio 2005)
4. Boost library, recomended version is 1.39
5. Loki library, recomended version 0.1.6
6. HDF5 library, recomnded version 1.8.3
6.1. SZIP, recomnded version 2.1
6.2. ZLIB, recomnded version 1.2

Example of BlueSky BuildSystem script placed at
examples/scons_env.custom and examples/scons_vars.custom.
9 changes: 9 additions & 0 deletions SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SConscript ("bs_bos_core_base/SConscript.bs")
SConscript ("bs_matrix/SConscript.bs")
SConscript ("bs_base_linear_solvers/SConscript.bs")
SConscript ("bs_csr_ilu_prec/SConscript.bs")
SConscript ("bs_bos_core_data_storage/SConscript.bs")
SConscript ("bs_mesh/SConscript.bs")
SConscript ("bs_scal/SConscript.bs")
SConscript ("bs_pvt/SConscript.bs")
SConscript ("bs_bos_core/SConscript.bs")
295 changes: 295 additions & 0 deletions all.sln

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions bs_base_linear_solvers/SConscript.bs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import os
Import ("*")

lib_name = "bs_base_linear_solvers"
tar_name = "bs_base_linear_solvers"

env = custom_env.Clone ()
env.Append (CPPPATH = ["include",
includes["bs_bos_core_base"],
includes["bs_matrix"]
] + includes["kernel"])

libs = ["blue_sky", "bs_bos_core_base", "bs_matrix"]

if (build_kind == "debug") :
env.AppendUnique (LIBS = list_suffix (libs, "_d"))
lib_name += "_d"
elif (build_kind == "release") :
env.AppendUnique (LIBS = libs)

bs_base_linear_solvers = env.SharedLibrary (target = os.path.join (tar_exe_plugin_dir, lib_name), source = files (["."]).sources)

env.Alias (tar_name, bs_base_linear_solvers)
Export ("bs_base_linear_solvers")

if (env["install"] == 1) :
inst_tar = env.Install ("$plugins_prefix", bs_base_linear_solvers)
env.Alias (tar_name, inst_tar)
Loading

0 comments on commit 0249fcc

Please sign in to comment.