packages feed

hfoil-0.2.0: hfoil.cabal

Name:                hfoil
Version:             0.2.0
Stability:           Experimental
Synopsis:            Hess-Smith panel code for inviscid 2-d airfoil analysis
License:             BSD3
License-file:        LICENSE
Author:              Greg Horn
Maintainer:          gregmainland@gmail.com
Copyright:           (c) Greg Horn 2012, 2015
Category:            Numerical, Science
Build-type:          Simple
Cabal-version:       >= 1.8
Description: {
Library and command line REPL with plotting to do simple inviscid hess-smith panel code.
.
Features include:
.
* Cheap and shameless xfoil ripoff for relp/plotting interface
.
* Naca 4-series support with Gauss-Newton paneling
.
* Broken UIUC database integration (type \"uiuc [foilname]\")
.
* Haskeline interface with tab-completion (oooh)
.
* Single and multi-element airfoils
.
* Inviscid, incompressible, 2-dimensional flow only
.
.
To get started, do cabal install or whatever, then run the \"hfoil\" binary.
.
Things to try: \"naca 2412\", \"alfa 4\", (hit enter before entering another airfoil), \"load [filename]\", \"uiuc e330\"
}

Flag repl
     Description: Build the command line interface
     Default: True

Library
  hs-source-dirs:      src
  Exposed-modules:     HFoil
                       HFoil.Naca4
                       HFoil.Foil
                       HFoil.Drawing
                       HFoil.Flow
                       HFoil.Repl
--  Other-modules:

  Build-depends:       base >= 4 && < 5
                       , not-gloss >= 0.7.2.0
                       , linear
                       , hmatrix >= 0.12
                       , haskeline >= 0.6
                       , transformers >= 0.2
                       , directory >= 1.1
                       , HTTP >= 4000.2
                       , parsec >= 3

  Ghc-Options:         -Wall
  Ghc-Prof-Options:    -prof -auto-all


Executable hfoil
  if flag(repl)
     Buildable: True
  else
     Buildable: False

  Build-depends:       base >= 4 && < 5
                       , hfoil >= 0.1.2

  hs-source-dirs:      apps
  Main-Is:             Main.hs
  -- (not-gloss needs -O2 -threaded) -- does it really?
  Ghc-Options:         -O2 -threaded -Wall
  GHC-Prof-Options:    -auto-all -caf-all -rtsopts

source-repository head
  type:     git
  location: git://github.com/ghorn/hfoil.git
  tag:      0.1.2