Commit Graph

306 Commits

Author SHA1 Message Date
Joachim Schöberl
33626c6669 clear solutiondata object on python-exit 2020-08-17 15:55:32 +02:00
Christopher Lackner
620b90fbee read material names from fnf file 2020-08-06 18:06:26 +02:00
Matthias Hochsteger
7dbd9e6b54 CGNS write support 2020-08-04 21:06:56 +02:00
Joachim Schöberl
ba84439227 NgMPI_Communicator by reference, check for valid mpi-comm 2020-08-02 09:25:44 +02:00
Matthias Hochsteger
2f88502729 Remove Segment::bcname, fix Mesh::operator=
Remap the 'string* bcname' members in the FaceDescriptor objects in
Mesh::operator= to the new mesh
2020-07-23 16:24:59 +02:00
Matthias Hochsteger
7058732e23 Fix CGNS reader for 2d meshes, cleanup 2020-07-15 13:31:37 +02:00
Matthias Hochsteger
7da5cfd3de translate to NGSolve node type in ReadCGNSFile 2020-07-02 18:26:16 +02:00
Joachim Schöberl
3b5c346e63 proper terms 2020-06-17 19:11:17 +02:00
Matthias Hochsteger
b1d65912ec cgns: flip normals of 2d elements 2020-03-19 20:50:32 +01:00
Matthias Hochsteger
bff0e67576 CGNS reader: identify equal points in different zones 2020-03-17 17:46:29 +01:00
Matthias Hochsteger
89cb1e07ff CGNS reader: Fix boundary/material names for MIXED elements 2020-03-12 18:42:58 +01:00
Matthias Hochsteger
a88432cb7f Merge branch 'cgns' into 'master'
CGNS format read support

See merge request jschoeberl/netgen!315
2020-03-11 21:07:08 +00:00
Matthias Hochsteger
2615b0911e Fix CGNS code for version < 3.4
Install libhdf5 on ubuntu test (cgns depends on it)
2020-03-11 17:43:36 +01:00
Matthias Hochsteger
603141cf1a Fix CGNS support on Windows 2020-03-11 14:53:08 +00:00
Matthias Hochsteger
db5ad09b79 Initial CGNS format read support 2020-03-11 13:39:40 +01:00
Lukas
672ce3f3f2 Interface can now give curve order of mesh 2020-03-06 10:17:09 +01:00
Nils Wagner
01175124c2 Correct order of nodes for TET4 elements 2019-10-25 13:24:17 +02:00
Joachim Schöberl
d46453050d fix for recent change 2019-09-21 02:22:20 +02:00
Matthias Hochsteger
8381ce58ba Link stl to interface 2019-09-20 15:26:15 +02:00
Christopher Lackner
681628bd40 remove unnecessary line 2019-09-20 13:45:23 +02:00
Matthias Hochsteger
f6f4976402 Import STL as Mesh 2019-09-20 11:32:20 +02:00
Matthias Hochsteger
1584da69ae Rename BitArray to NgBitArray 2019-08-28 14:04:05 +02:00
Joachim Schöberl
9118ddc63a preparations to switch T_POINTS to ngcore::Array 2019-08-09 15:30:58 +02:00
Joachim Schöberl
c900e0380b unique ptrs in Mesh 2019-08-09 09:02:50 +02:00
Christopher Lackner
de01461497 Merge remote-tracking branch 'zimmermann/master' into unv_2d 2019-08-08 11:25:32 +02:00
Joachim Schöberl
e8960ebae1 use ngscore::Array for surface elements 2019-08-08 08:44:59 +02:00
Julius Zimmermann
39b34a92cb Merge remote-tracking branch 'upstream/master' 2019-07-31 23:00:20 +02:00
Julius Zimmermann
490b6800d5 there will not be 2 default groups in the 3D case 2019-07-31 22:55:43 +02:00
Christopher Lackner
8ae2475085 return default geometry if no geometry is set for mesh 2019-07-30 12:40:22 +02:00
Christopher Lackner
ec5ec39909 fix refinement if no geometry is available 2019-07-30 09:54:46 +02:00
Joachim Schöberl
20abe6ec37 make number of vertices per level available 2019-07-29 17:46:09 +02:00
Julius Zimmermann
57215cc707 fixed another bug 2019-07-23 23:23:10 +02:00
Julius Zimmermann
fe782670f8 curved elements work, too 2019-07-16 10:42:27 +02:00
Julius Zimmermann
bffdf689ae fixed bug 2019-07-15 16:42:13 +02:00
Julius Zimmermann
ef545c5d86 unv interface for 2D case 2019-07-15 16:07:32 +02:00
Matthias Hochsteger
c5acbacadb Rename ArrayMem to NgArrayMem 2019-07-09 18:00:12 +02:00
Matthias Hochsteger
2d46d21a52 Rename FlatArray to NgFlatArray 2019-07-09 10:40:35 +02:00
Matthias Hochsteger
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Michael Neunteufel
b3de5f0320 get correct mesh point on curved TRIG6 elements 2019-06-24 19:30:52 +02:00
Christopher Lackner
da37730eb8 fnf reader messages with msg level, no error for analysis sect 2019-05-21 10:51:39 +02:00
Christopher Lackner
9d97f4290a add domainin property to fnf file reader 2019-05-20 18:03:57 +02:00
Christopher Lackner
953c5bb57c fix printmessage instead of IM 2019-05-13 18:17:53 +02:00
Christopher Lackner
fd1842fde6 add msg level to cout of fnfreader 2019-05-13 14:54:37 +02:00
Michael Neunteufel
41d47e038b use mesh[nr] 2019-05-06 14:59:18 +02:00
Michael Neunteufel
7bb3698043 avoid memory leak and cleanup 2019-05-06 11:01:54 +02:00
Michael Neunteufel
e5bb1298d2 add only segments if they are real bbnd elements for .unv files 2019-05-06 10:30:19 +02:00
Michael Neunteufel
70b5151c5c read bbnd for .unv meshes and update topology 2019-05-02 17:00:37 +02:00
Matthias Hochsteger
d6f1cf2bda [cmake] Don't install object libraries on Windows
Works around following issue with CMake 3.14:
> CMake error : install(EXPORT "netgen-targets" ...) includes target "mesh" which requires target "gprim" that is not in the export set.
2019-04-16 12:39:56 -07:00
Joachim Schöberl
2e4836f0cf build surfaceelement lists for universal file import 2019-04-11 14:45:57 +02:00
Christopher Lackner
d9b0346960 understand groups of unv file for bc and mat properties, 2nd order els 2019-03-29 14:38:38 +01:00
Joachim Schöberl
0197a3cca1 fixes for parallel version running sequential 2019-03-16 06:30:47 +01:00
Lukas
9d01c080f9 Set global geoemtry 2019-03-01 11:33:53 +01:00
Lukas
4637854c9b When loading a netgen-mesh, take geometry-info from mesh-file over global geometry. 2019-02-25 16:28:31 +01:00
Joachim Schöberl
179c3bb02f don't store partition in element (most times waste of mem) 2019-02-15 21:01:00 +01:00
Joachim Schöberl
350aaf4b7a Merge branch 'find_el_point1d' into 'master'
Implemented FindElementOfPoint for 2d mesh

See merge request jschoeberl/netgen!131
2019-02-13 16:52:41 +00:00
Michael Neunteufel
f81ca7d921 Implemented FindElementOfPoint for 2d mesh 2019-02-13 15:36:17 +01:00
Joachim Schöberl
734e96c87c get rid of ng_comm 2019-02-12 22:11:55 +01:00
Joachim Schöberl
2c5fdfbfec mpiwrapper 2019-02-11 22:24:01 +01:00
Joachim Schöberl
a1a16ef8f0 mpiwrapper 2019-02-11 22:17:02 +01:00
Joachim Schöberl
68c320fd53 less ifdef PARALLEL 2019-02-11 07:57:09 +01:00
Joachim Schöberl
bf9cffa8de Merge branch 'getrefinementlevel' into 'master'
Getrefinementlevel

See merge request jschoeberl/netgen!106
2019-02-07 15:10:38 +00:00
Lukas
0f4ca1c7a7 Fewer ifdefs for MPI. More consistent use of mpi_interface instead of direct MPI calls. 2019-01-30 12:09:40 +01:00
Lukas
012d27d41e Fix paralleltop. Clean up mesh loading. 2019-01-29 19:37:58 +01:00
Lukas
c7fb6c7e4a Add a global communicator. The mesh now has a communicator. 2019-01-29 16:10:02 +01:00
Matthias Hochsteger
b6a17ff5be DLL_HEADER for SetRefinementFlag 2019-01-15 17:01:10 +01:00
Joachim Schöberl
9f3e4aaa78 add more functions to interface V2 (no global pointer) 2019-01-14 22:43:17 +01:00
Matthias Hochsteger
ab15ae12bc [cmake] Export object libs on Windows 2019-01-14 14:47:26 +01:00
Joachim Schöberl
523b8c086c GetFaceEdges in new mesh-interface (without global ptr) 2019-01-12 14:20:00 +01:00
Christopher Lackner
c5af003bba Merge remote-tracking branch 'gitlab/master' into ngcore 2018-12-13 13:19:40 +01:00
Michael Neunteufel
d17e6c42bc anisotrop level possible 2018-12-06 12:49:38 +01:00
Christopher Lackner
7bfc48e8f3 start ngcore, archive in there 2018-11-29 18:35:30 +01:00
lorenz
593ce091b7
link to visual also if USE_GUI=OFF 2018-11-29 15:51:20 +01:00
Michael
2a39b426aa add get refinement level function for hp refinement. Works for point singularities 2018-11-05 10:45:33 +01:00
Lukas
0a541ca3de Resetting Geometry breaks pde-files 2018-08-09 14:11:44 +02:00
Lukas
bd8a53665a Reset geometry when loading mesh with MPI active. 2018-08-02 10:19:53 +02:00
Joachim Schöberl
ba620a5b41 GetParentNodes in impl.hpp file 2018-07-21 08:09:36 +02:00
Matthias Hochsteger
63ee20cb29 Set global Mesh pointer 2018-06-13 14:01:56 +02:00
Joachim Schöberl
3112f4dc15 Merge branch 'loadmesh_fix' into 'master'
loadmesh fix

See merge request jschoeberl/netgen!90
2018-06-12 23:04:25 +02:00
Christopher Lackner
bafeb53395 zero based access to identification pairs in new interface 2018-06-12 13:37:06 +02:00
Lukas
68a552c7d6 Fixed indentions, etc. 2018-06-12 13:13:42 +02:00
Lukas
ebc6506f3e Forced linking of 2d-library to interface-library (this should solve the problem with SplineGeometryRegister if building without GUI) 2018-06-12 13:10:41 +02:00
Lukas
7e062372d4 Fixed it now? 2018-06-12 11:28:51 +02:00
Lukas
89c7626a01 Fixed it now? 2018-06-12 11:18:13 +02:00
Lukas
30928eaaa8 Fixed it 2018-06-12 11:11:36 +02:00
Lukas
20c62589d2 Geometry information is now also Distributed when loading a mesh via NG_LoadMesh (was already fixed for python-meshes) 2018-06-12 11:06:50 +02:00
Joachim Schöberl
66ef426c79 Curve mesh functionality over Ngx_Mesh 2018-05-01 21:20:54 +02:00
Joachim Schöberl
bda771f86f more archive 2018-04-28 03:42:04 +02:00
Joachim Schöberl
633376972f archiving the mesh 2018-04-27 08:36:22 +02:00
Matthias Hochsteger
df71d00d21 GetParent*() functions in nginterface_v2 2018-03-20 19:14:07 +01:00
luz.paz
a10531adb2 Misc. typos
Found via `codespell -q 3`
2018-02-06 14:12:24 -05:00
Matthias Hochsteger
c48084fd1c Fix build error on GCC 4.8
by avoiding the copy constructor of std::ifstream
2018-01-25 11:29:24 +01:00
luz.paz
58002505bc Typos
Found via `codespell`
2018-01-14 12:18:54 -05:00
Joachim Schöberl
19ec4fc9ca more tracing and parallelization 2018-01-04 18:45:07 +01:00
Joachim Schöberl
5469356147 tracer in Netgen 2018-01-04 10:43:34 +01:00
Joachim Schöberl
25ba2f7a54 SSE - vectorization 2017-11-27 10:20:18 +01:00
Joachim Schöberl
7cf05d84a8 AVX512 for element-trafos 2017-11-23 21:26:36 +01:00
Joachim Schöberl
aa97817d08 support of 0D-elements in CSG 2017-09-22 17:02:39 +02:00
Joachim Schöberl
e33c859a43 delete global mesh the old way 2017-08-28 17:23:31 +02:00
Joachim Schöberl
2d4bed6a77 fix crash at netgen exit 2017-08-27 14:51:35 +02:00
Matthias Hochsteger
d4a2d4c87b Check if mesh file exists before loading
Also derive NgException from std::exception to print the error message
in Python / on the command line.
2017-08-24 13:59:16 +02:00