[asl] 133/177: Cosmetic changes
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Aug 27 09:22:48 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 9421e16f0acc1d623ebc70d6aad2577a7c0d647f
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date: Thu Jul 30 23:56:27 2015 +0300
Cosmetic changes
---
README.md | 10 ++++++----
examples/flow/locomotive.cc | 2 +-
examples/flow/locomotive_laminar.cc | 1 -
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 5fc89c9..279f944 100644
--- a/README.md
+++ b/README.md
@@ -35,15 +35,17 @@ Professional consulting, training and integration services are provided by [Avte
### Running an example
1. Go to examples: `cd examples/flow/locomotive`
-2. Run: `./locomotive --input ../../../../ASL/examples/input_data/locomotive.stl`. Optionally: change some parameters - `./locomotive --input locomotive.stl --dx 0.1 --dt 2` or write all of them into a file for later editing/reuse - `./locomotive -g bigGrid.ini`. List all available options - `locomotive -h`.
-3. Post-processing: see [step by step example](https://github.com/AvtechScientific/ASL/wiki/User-Guide#post-processing) and the ParaView state file `examples/input_data/locomotive.pvsm`.
+2. Run: `./locomotive --input ../../../../ASL/examples/input_data/locomotive.stl`.
+Optionally: change parameters - `./locomotive --input locomotive.stl --dx 0.1 --dt 2` or write all of them into a file for later editing/reuse - `./locomotive -g bigGrid.ini`. List all available options - `./locomotive -h`.
+3. Post-processing: see [step by step example](https://github.com/AvtechScientific/ASL/wiki/User-Guide#post-processing) and `examples/input_data/locomotive.pvsm` - the ParaView state file.
### Writing your own code using ASL
1. Take a look on [examples](http://asl.org.il/doc/Developer-Guide/examples.html) and the [API documentation](http://asl.org.il/doc/Developer-Guide/), start with [examples/flow/locomotive.cc](http://asl.org.il/doc/Developer-Guide/locomotive_8cc-example.html)
2. ASL installation supplies `ASL.pc` and `ASLConfig.cmake` files. To build your program using:
- - `pkg-config`: launch ``c++ `pkg-config --cflags --libs ASL` -o locomotive locomotive.cc``
- - `cmake`: write a basic `CMakeLists.txt` file:
+
+- `pkg-config`: ``c++ `pkg-config --cflags --libs ASL` -o locomotive locomotive.cc``
+- `cmake`: write a basic `CMakeLists.txt` file:
```cmake
project(locomotive)
diff --git a/examples/flow/locomotive.cc b/examples/flow/locomotive.cc
index 2acdfa3..145cd62 100644
--- a/examples/flow/locomotive.cc
+++ b/examples/flow/locomotive.cc
@@ -120,7 +120,7 @@ int main(int argc, char* argv[])
cout << "Data initialization... " << flush;
- // Read geometry of the locomotive from the file
+ // Read geometry of the locomotive from the file `locomotive.stl`
auto locomotive(asl::readSurface(input.v(), bl));
// Create block for further use
diff --git a/examples/flow/locomotive_laminar.cc b/examples/flow/locomotive_laminar.cc
index 5347433..e5afbc7 100644
--- a/examples/flow/locomotive_laminar.cc
+++ b/examples/flow/locomotive_laminar.cc
@@ -89,7 +89,6 @@ int main(int argc, char* argv[])
std::cout << "Data initialization..." << endl;
-
auto locomotive(asl::readSurface(input.v(), bl));
asl::Block block(locomotive->getInternalBlock());
--
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