Skip to content

Commit

Permalink
use .mx3 extension for input files
Browse files Browse the repository at this point in the history
  • Loading branch information
barnex committed Apr 18, 2014
1 parent a3eac73 commit 6a15544
Show file tree
Hide file tree
Showing 91 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (s *State) Output() string {
}

func (s *State) infile() string {
return fmt.Sprintf("example%v.in", s.count)
return fmt.Sprintf("example%v.mx3", s.count)
}

func (s *State) outfile() string {
Expand Down
2 changes: 1 addition & 1 deletion doc/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>mumax 3.5 examples</h1>

mumax<sup>3</sup> input files are run with the command

<pre>mumax3 myfile.txt</pre>
<pre>mumax3 myfile.mx3</pre>

Output is automatically stored in the "myfile.out" directory. Additionally, a web interface provides live output. Default is <code><a href="http://localhost:35367">http://localhost:35367</a></code>.<br/>
For more details, run <code>mumax3 -help</code> which will show the available command-line flags (e.g. to select a certain GPU).
Expand Down
4 changes: 2 additions & 2 deletions make.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ ln -sf $(pwd)/post-commit .git/hooks/post-commit
(cd cuda && ./make.bash) || exit 1
(cd engine && ./make.bash) || exit 1
go install -v github.com/mumax/3/cmd/{mumax3,mumax3-convert,mumax3-plot,bootstrap} || exit 1
(cd test && mumax3 -vet *.txt) || exit 1
(cd doc && mumax3 -vet *.in) || exit 1
(cd test && mumax3 -vet *.mx3) || exit 1
(cd doc && mumax3 -vet *.mx3) || exit 1

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 1 addition & 4 deletions test/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

set -e

scripts=*.txt
scripts=*.mx3

mumax3 -vet $scripts

mumax3 outputformat.txt
mumax3-convert -png testdata/*.omf outputformat.out/*.ovf

for g in *.go; do
go run $g;
done
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6a15544

Please sign in to comment.