[asl] 72/177: Small fixes
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Aug 27 09:22:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository asl.
commit eb0ff4acc72015446b44f5baddb8f92de0d1c3ff
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date: Mon Jul 6 22:37:54 2015 +0300
Small fixes
---
README.md | 2 +-
examples/flow/locomotive_in_tunnel.cc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index ab536d2..f0472c8 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ ASL is distributed under the free GNU Affero General Public License (AGPLv3) wit
### Writing your own code using ASL
-1. Take a look on examples, e.g. [examples/flow/locomotive_in_tunnel.cc](http://asl.org.il/doc/Developer-Guide/locomotive_in_tunnel_8cc-example.html)
+1. Take a look on examples, start with [examples/flow/locomotive_in_tunnel.cc](http://asl.org.il/doc/Developer-Guide/locomotive_in_tunnel_8cc-example.html)
2. ASL installation supplies `ASLConfig.cmake` and `ASL.pc` files. To build your program using
- `cmake`: `examples/flow/CMakeLists.txt`
- `pkg-config`: `c++ ``pkg-config --cflags --libs ASL`` -o flow flow.cc`
diff --git a/examples/flow/locomotive_in_tunnel.cc b/examples/flow/locomotive_in_tunnel.cc
index 2588f84..5a364c8 100644
--- a/examples/flow/locomotive_in_tunnel.cc
+++ b/examples/flow/locomotive_in_tunnel.cc
@@ -54,7 +54,7 @@ asl::SPDistanceFunction generateTunnel(asl::Block & bl)
// Set radius of the tunnel to the ca. half of the block's height (Z size)
double rTunnel((bl.getBPosition()[2] - bl.position[2]) / 2.1);
- // Center of the tunnel (described as cylinder cutted by a plane)
+ // Center of the tunnel (described as cylinder cut by a plane)
asl::AVec<> center(.5 * (bl.getBPosition() + bl.position));
center[1] = bl.position[1] + .25 * rTunnel;
@@ -80,7 +80,7 @@ int main(int argc, char* argv[])
/* Convenience facility to manage simulation parameters (and also
hardware parameters defining platform and device for computations)
through command line and/or parameters file.
- See `locomotive_in_tunnel -h` for more information */
+ See `locomotive_in_tunnel --help` for more information */
asl::ApplicationParametersManager appParamsManager("locomotive_in_tunnel",
"1.0");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git
More information about the debian-science-commits
mailing list