Commit Graph
26 Commits
Author SHA1 Message Date
Stefano Zampini 390aaceabf Fix GCC warning -Wmaybe-uninitialized 2019-01-24 17:23:07 +03:00
Veselin Dobrev 3b4a080565 Use 'mfem::out' instead of 'cout'. 2019-01-10 15:03:43 -08:00
Ido Akkerman b1e2aaf09d Fixing unused var and self reference 2019-01-09 15:53:20 +01:00
Tzanio 4f25a377b4 Minor styling 2018-10-16 11:01:56 -07:00
Tzanio 6c54949cb7 make style 2018-10-16 10:40:12 -07:00
Ido Akkerman 7053c05338 Add periodicity to NURBS 2018-10-15 10:14:06 +02:00
Veselin Dobrev 1556f3605c In the standard ParMesh constructor, in the case of a NURBS
mesh, create the parallel 'Nodes' using directly the
ParNURBSExtension created in the constructor, instead of
creating another extension by calling the ParGridFunction
constructor that is used in the general case.
2018-01-08 23:36:04 -08:00
Veselin Dobrev f50f1ad8de In the copy constructor of class NURBSExtension, use deep copy for the
patch topology.

Remove incorrect MFEM_ASSERT from the copy constructor of class Mesh:
vertices.Size() may not equal NumOfVertices - this is now described in
the comment before the declaration of 'vertices'.

Add the explicit qualifier to some constructors in classes Mesh and
NCMesh; without these, the following implicit construction was possible:
Mesh* --> NCMesh --> Mesh (in a friend class) which was never the
intent.

In the degree-elevation constructors of class NURBSExtension, do not
issue a warning if newOrder is less than or equal to the order of a
knot vector from the parent NURBSExtention - this is now the documented
(in doxygen) behavior for this case.
2017-11-30 11:57:45 -08:00
Ido Akkerman 1bf49022c8 Converting an ERROR message into a slightly more descriptive WARNING with a default option 2017-11-30 13:11:24 +01:00
Ido Akkerman 2cb1a17a7d Fixing NURBS parallel issue. Mesch deep copy defaults to an NCMesh. Shallow copy seems to fix this 2017-11-30 12:49:50 +01:00
Veselin Dobrev d4fdb2af47 Add copy constructors for classes NURBSPatch, NURBSExtension, and
ParNURBSExtension.

In class ParNURBSExtension:
* Extend the constructor that converts a local NURBSExtension to a
  parallel one, to supporting input NURBSExtension that is global, i.e.
  with all elements active.
* Make some method parameters const.
2017-11-27 19:46:03 -08:00
Veselin Dobrev ebd5f1d62a In class (Par)NURBSExtension, construct element-to-dof Tables by
constructing first an Array of Connections and then converting it
to a Table.
2017-11-22 17:14:10 -08:00
Veselin Dobrev 0498086748 Add support for reading NURBS GridFunctions in patch-by-patch format,
identified by the keyword "NURBS_patches".

In class NURBSExtension, add two new methods: LoadSolution and
PrintSolution which can be used to read and write GridFunctions in
patch-by-patch format.
2017-11-22 13:54:46 -08:00
Veselin Dobrev 224851268e Restore backward compatibility for reading and writing NURBS meshes and
solutions. Restore the NURBS meshes in the data directory to use their
original format.

Add a new FiniteElementSpace format for writing variable-order spaces,
currently implemented for NURBS spaces only. Move the reading of FE
space input in a new method: FiniteElementSpace::Load. Add new default
constructor for FiniteElementSpace that should be used with the Load
method.

Add a bunch of const qualifiers in NURBSExtension and NURBSPatchMap.

Extended the method Mesh::DegreeElevate to make it easier to work with
variable-order NURBS meshes.

In class Array, add copy constructors and copy assignment operators.

Add a number of FIXME comments.
2017-11-21 14:35:05 -08:00
Tzanio dff0dd0b48 Merge branch 'master' into varnurbs-dev 2017-11-10 16:55:38 -08:00
Tzanio abe85f4cb6 make style 2017-09-28 10:15:26 -07:00
Aaron Fisher aa040f3e64 Made everything work with the new mfem::out and mfem::err output. 2017-09-27 15:42:37 -07:00
Tzanio e6c4c90067 make style 2017-09-16 11:55:23 -07:00
Ido Akkerman 3ec4e51a14 Fixing parallel variable NURBS orders
Signed-off-by: Ido Akkerman <I.Akkerman@tudelft.nl>
2017-09-16 14:48:28 +02:00
Ido Akkerman 48609b6aef Variable order NURBS
Signed-off-by: Ido Akkerman <I.Akkerman@tudelft.nl>
2017-09-16 14:48:28 +02:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00
Tzanio Kolev 6b72d34af6 Bugfix for VS2012 2015-01-29 17:08:16 -08:00
Tzanio Kolev 9d7774a03e Version 3.0 2015-01-26 15:07:34 -08:00
Tzanio Kolev fa169e4b92 Version 2.0 2011-11-18 11:39:53 -08:00