Commit Graph

118 Commits

Author SHA1 Message Date
akva
5bd45cd116 fixed: store displacements as displacements
now that displacements and vectors are actually distinguished in .vtfx
files, this makes a difference

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1065 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
de87198108 added: -starttime and -endtime parameters to HDF5toVTx
allows specifying which timesteps to dump in terms of time positions

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1064 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
10cf1e7341 added: -start and -end params to HDF5toVTx
allows setting start and end time levels (to only convert parts of a
file)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1063 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
3241f08a43 added: -last option to HDF5toVTx. dumps only the last time step
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1062 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
92ac07a386 added: VTU output
renamed HDF5toVTF to reflect that it can now output vtu files as well

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1061 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
b5dc82285f added: store time step info in the XML
this allows for setting time in the HDF5toVTF converter.
note this currently only supports a fixed step size, variable
steps will have to be stored in the HDF5 file when we need it

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1060 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
5db0af6a64 added: dump all data to a common VTF
all fields are now evaluated on the same FE model. by default
we tesselate using the first encountered basis, this can be overridden
using the -basis app parameter

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1057 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
4da953d41b added: flag to HDF5 writer to avoid opening/closing the file between operations.
while closing/opening is necessary to ensure a non-corrupt file between
time levels, this is very harmful for the performance in the HDF5toVTF
converter

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1056 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
bb6dfd07bf added: -ndump option to HDF5toVTF
use this to convert only every n'th time level from the HDF5

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1055 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:54 +02:00
rho
aae2a49143 Field definition for Lagrange finite element fields
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1051 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:54 +02:00
rho
d451094a42 Changed SplineField(s) to Field(s)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1049 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:54 +02:00
akva
33ab57e523 fixed: respect the binary/ascii vtf flag in vtfx
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1044 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
ac42dba257 fixed: with VTFx a state is required
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1043 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
99d165807a changed: use .vtfx as extension if we are using VTF v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1042 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
7c1400c852 added: use the given extension for multi-vtf(x) output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1041 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
3e8d8cec1d added: element norm functions in the Poisson integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1040 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
be79a13d26 added: getTraction in the Poisson integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1039 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
2542d495dc added: support VTFx aka VTF API v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1035 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
kmo
4c568c21f5 Added Getting Started presentation
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1034 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
63d14d2ace fixed: HDF5Writer::readSIM now works with mixed SIMs as well
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1032 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
774001219d changed: reimplement HDF to VTF without using SIM classes
now processes patch by patch and uses the internally stored bases.
more sane and less error prone

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1028 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
38c55a63bf added: readVector to hdf5 writer class
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1027 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
3e9662bfae added: flag the primary solution vector with type="restart"
this allows ignoring it during the conversion to VTF. i used type
"restart" since this vector will only be of interest when doing
restarted runs

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1026 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
992208fc38 changed: factor the reading of patches into a function
will be useful when reading from the HDF5 file

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1025 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
48cf338752 added: readstring function to the HDF5 reader
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1024 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
2205096b27 changed: rename the 'patchfile' attribute to 'basis'
more describing since we do not refer to external files any longer

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1023 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
63ebd5f00a added: store spline bases inside the HDF5 files
this means less files and more contained datasets while at the same time
allowing for using internal refine/order raising without problems

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1022 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
04b04a20f3 added: allow sim classes to name themself
this will be useful when dumping several SIMs into one HDF5 file.
we then need to be able to distinguish the bases for the different
fields

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1021 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
feb5548931 added: ability to specify which patch to dump the basis for
will be useful when storing the geometry within the HDF5 file

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1018 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
7c115ebb26 changed: reorganize PETScMatrix::assemPetsc(para) into one function
avoids a warnings about unused function when compiling with MPI

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1017 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
kmo
ca4b4899b5 Header file inclusion cleanup. Please avoid including 3rd party headers in our header files to avoid uneccesary dependencies. Rely on class forwarding instead.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1014 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
1e4050c8be Added svn keyword substitution (Id)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1011 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
kmo
6b0fce7288 Some core adjustments to support HDF5 export for mixed problems. Modified HDFtoVTF accordingly..
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1010 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
akva
6c944f66b1 changed: put assemPETScPara under #ifdef PARALLEL_PETSC
quells warning that was emitted when compiling without parallel petsc
support

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1009 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
kmo
dcd55dc7de Added HDF5 to VTF conversion utility + assosiacted fixes in HDF5 output. This now works for linear/stationary problems and nonlinear/time-dependent problems. But not yet for fully-coupled mixed methods.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1007 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
akva
8459da8f23 updated: HOWTO file with new options
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1003 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
rho
a974e8813b Changed Vec3 to Vec3& in arguments
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@993 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
kmo
b169a7efec Added option for element-specific debug output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@989 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
kmo
bf1b95f2f7 Regression test updates
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@988 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
rho
b5857a1ae9 Representation of scalar field over spline geometry
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@950 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:50 +02:00
rho
3dfd440da2 Added function getVolume
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@949 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:50 +02:00
rho
1f5a9a32ea Added function getSurface
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@948 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:50 +02:00
akva
88633420a7 temporarily disable two regression tests as they do not work properly across different machines
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@941 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
7d0717bb1e added: option to disable HDF5 support
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@940 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
50447b3296 fixed: remove information below machine precision from regression tests
also add a missing line1D.prc file referenced by the Line regression
test

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@939 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
604d825b48 changed: remove node information from regression tests
due to the nature of floating point numbers (and symmetries in the
solution) keeping this info is not portable across machines

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@938 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
181a29ae85 added: regression tests using CTest
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@934 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
kmo
ba4429b1d4 Adding HDF5 support (credit Arne Morten) + some modifications related to VTF output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@932 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
kmo
f06ee1b252 bugfixes in SymmTensor/scalar multiplication operator and in evaluation of basis2-fields in mixed splines framework
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@928 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
dc14168e2f added: a class for general string utilities
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@926 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00