Commit Graph

674 Commits

Author SHA1 Message Date
Martin Diehl e7e0cf7118 preprocessor statements are case sensitive..
... and the PETSc variable is PETSc, not PETSC
2018-10-09 13:57:29 +02:00
Martin Diehl e3943d282a Merge branch 'development' into 47-save-restart-information-in-hdf5 2018-10-09 13:51:58 +02:00
Vitesh Shah 09ba95b029 non-executable 2018-10-09 10:58:45 +02:00
Vitesh Shah 70c746a8f1 Interfacing for subroutines to identify real and integer data 2018-10-09 10:57:06 +02:00
Martin Diehl e71ec2057e hotfix
does not seem to cause trouble here, but better be safe
2018-10-09 08:37:03 +02:00
Martin Diehl 05aae4f7eb removed forgotten debug statement 2018-10-08 23:34:05 +02:00
Martin Diehl 50f0362aa1 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-10-08 23:33:31 +02:00
Martin Diehl 6064daceda do error check earlier
array out of bounds happened already before the check
2018-10-08 23:32:46 +02:00
Martin Diehl b51c3b5a07 handling files without LF at last line correctly 2018-10-08 23:27:06 +02:00
Philip Eisenlohr 225a48021d foramtting of random_seed output to align with rest 2018-10-08 17:01:56 -04:00
Martin Diehl a560fff2ac [skip ci] [skip sc] generic interfaces for HDF5 operations
most existing HDF5 functions are only designed for writing output files
and more general functionality is needed for storing the restart data
2018-10-05 09:03:20 +02:00
Martin Diehl 47a748831f Cannot write out resolved stress including non schmid
Would need to write out tau_pos and tau_neg separately, so limit to
resolved stress in the sense of Schmid
2018-10-05 07:26:13 +02:00
Martin Diehl e74a852ef7 new style is noticable slower
runtime (polycrystal example) increased from 70s to 90s.
Need to figure out how to write readable AND fast code
2018-10-05 06:38:20 +02:00
Vitesh Shah a6ebdfc1ff Reading and writing not very efficient method 2018-10-04 17:00:24 +02:00
Martin Diehl 27bde05529 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' into 'development'
Resolve "Introduce Rudimentary PETSc based FEM solver"

Closes #38

See merge request damask/DAMASK!41
2018-10-01 21:10:03 +02:00
Franz Roters d5cf7d2144 Merge branch '19-NewStylePhenopowerlaw' into 'development'
Resolve "New coding style for phenopowerlaw"

See merge request damask/DAMASK!39
2018-10-01 16:08:05 +02:00
Martin Diehl 14509876d4 error == 0 is normal termination 2018-09-29 09:57:53 +02:00
Martin Diehl 637544509e rewind needed
the file is read twice from beginning to end
2018-09-28 10:06:21 +02:00
Vitesh Shah 8619b49e20 made it nonexecutable 2018-09-28 08:47:00 +02:00
Vitesh Shah 8bd0cb3b25 Made it non executable 2018-09-28 08:45:52 +02:00
Vitesh Shah 6efde5f4ce Combined the dataset creation and writing dataset in single subroutine. Created group for looped writing. 2018-09-28 08:41:29 +02:00
Martin Diehl b141252f1f doing the same things in the same way in both solvers 2018-09-28 08:06:22 +02:00
Martin Diehl d1f614991e merging good style mutually FEM <-> Spectral 2018-09-28 07:49:52 +02:00
Martin Diehl 6780217193 adopted from DAMASK_spectral 2018-09-28 07:25:32 +02:00
Martin Diehl 4c057ba529 both solvers can share quit 2018-09-27 20:09:59 +02:00
Chuanlai Liu b391ad304d tensor input/output is of the form 11,12,13, 21,22,23, 31,32,33. Thus row index i is slow, while column index j is fast 2018-09-27 11:53:45 +02:00
Martin Diehl 6509775d41 cleaning
avoiding compiler warnings and confusion of the user
2018-09-27 08:23:30 +02:00
Vitesh Shah 5b52ac91e5 Revert "made it non executable"
This reverts commit 05c784aefc.
2018-09-26 09:28:47 +02:00
Vitesh Shah 2edf8f7f53 Need to commit this before reverting the changes in other files 2018-09-26 09:21:53 +02:00
Vitesh Shah 3408282755 windows and linux editor incompatibility 2018-09-25 16:49:25 +02:00
Vitesh Shah 05c784aefc made it non executable 2018-09-25 16:48:02 +02:00
Vitesh Shah b71896d4b6 writing of multidimensional dataset into hdf5 does not appear as multiple pages in hdfviewer 2018-09-25 16:42:43 +02:00
Martin Diehl f701910c71 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-23 19:32:19 +02:00
Pratheek Shanthraj 109ed4308f change in tabulation order. should now be working correctly 2018-09-23 03:14:23 +02:00
Martin Diehl 9eb318b9bf Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 14:54:58 +02:00
Pratheek Shanthraj d9bdf53628 quadrature weights defined twice for some reason 2018-09-22 12:55:23 +02:00
Pratheek Shanthraj ffcadc1d86 use displacements instead of coordinates 2018-09-22 12:54:45 +02:00
Pratheek Shanthraj 4a25520828 removed debug write statements 2018-09-22 12:53:33 +02:00
Pratheek Shanthraj 6c21c60c70 corrected nbasis 2018-09-22 12:53:02 +02:00
Pratheek Shanthraj becd959913 dmda not needed 2018-09-22 12:52:29 +02:00
Pratheek Shanthraj 81ced06393 order --> degree 2018-09-22 12:51:02 +02:00
Pratheek Shanthraj 22c1436af6 working with petsc 3.10 2018-09-22 12:49:56 +02:00
Pratheek Shanthraj c9a4609290 reading in BCs correctly 2018-09-22 12:48:57 +02:00
Martin Diehl 42bc1b468a cleaning+adopting to petsc-3.10 2018-09-22 11:19:08 +02:00
Martin Diehl a95e2b8083 Merge branch 'PETSc3.10' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 10:36:31 +02:00
Martin Diehl f590851a78 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 10:33:20 +02:00
Martin Diehl 80914470cc most probably pInt and PetscInt is the same 2018-09-22 10:32:26 +02:00
Jaeyong Jung 4ddb8d843c modified DMGetDefaultGlobalSection to DMGetGlobalSection 2018-09-21 14:08:44 +02:00
Jaeyong Jung 9150844c96 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-21 10:13:27 +02:00
Martin Diehl 180105d3ce external statements will not work if interfaces exist
we're currently providing a patch for PETSc with interfaces for all
functions that we use
2018-09-21 08:25:35 +02:00