Mercurial > repos > public > sbplib
annotate labelTask.m @ 774:66eb4a2bbb72 feature/grids
Remove default scaling of the system.
The scaling doens't seem to help actual solutions. One example that fails in the flexural code.
With large timesteps the solutions seems to blow up. One particular example is profilePresentation
on the tdb_presentation_figures branch with k = 0.0005
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 18 Jul 2018 15:42:52 -0700 |
parents | 1f5f988e9682 |
children |
rev | line source |
---|---|
148
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
1 function o = labelTask(in) |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
2 |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
3 switch class(in) |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
4 case 'char' |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
5 fprintf(in); |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
6 o = tic(); |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
7 case 'uint64' |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
8 o = toc(in); |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
9 fprintf(' - done %fs\n', o); |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
10 otherwise |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
11 error('Unknow input type: %s', class(in)) |
1f5f988e9682
Added functions for printing and timing tasks in a script.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
12 end |