Skip to content
Snippets Groups Projects
Commit 7e26d48c authored by jonathan.froehlich's avatar jonathan.froehlich
Browse files

Upadted time

parent 98fb7992
No related branches found
No related tags found
1 merge request!153Local add output info
import numpy as np
if __name__ == "__main__":
matrix = np.array([
[1, 0, 0, 0, 0],
[-1 / 6, 2 / 3, 0, -1 / 3, -1 / 6],
[0, 0, 10, 0, 0],
[0, 0, 0, 1, 0],
[-1 / 3, -1 / 6, 0, -1 / 6, 2 / 3]])
print(np.linalg.inv(matrix))
......@@ -71,10 +71,8 @@ def Start(args):
def decideTime(degree, mat):
factor = 2
if mat == 'Bonet':
factor = 4
if mat == 'Holzapfel':
factor = 4
if mat != 'Linear':
factor = 8
return (2*degree*degree * factor, 0)
......@@ -96,7 +94,7 @@ def modifyJobskript(name, degree, logfolder,penalty, args):
(h, m) = decideTime(degree, mat)
with open(filename, 'w') as output_file:
output_file.write(Standard())
output_file.write(Nodes(32))
output_file.write(Nodes(64))
output_file.write(Tasks(64))
output_file.write(Time(h, m))
output_file.write(Jobname(jobname))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment