Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partition #488

Draft
wants to merge 119 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
fe1a100
fix missing kwargs in Immutable.{edit,__reduce__}
joostvanzwieten Apr 28, 2020
6e0a644
fix parsing power expr. with const scalar base
joostvanzwieten Apr 28, 2020
f1a5923
support scientific notation in expressions
joostvanzwieten Apr 28, 2020
ef29e4a
doc fixes
joostvanzwieten Apr 28, 2020
a616446
remove Topology.elem_project
joostvanzwieten Mar 12, 2020
edce9dc
disable multipatch unittests
joostvanzwieten Feb 3, 2020
81449b5
disable unittests involving bifurcate
joostvanzwieten Jun 13, 2019
75b8c74
remove {transform,function}.Bifurcate and friends
joostvanzwieten Feb 13, 2020
d3ee438
remove first of two function.{normal,grad}
joostvanzwieten Jan 8, 2020
7680c39
restructure function.Basis tests
joostvanzwieten Jan 7, 2020
c001db8
use strict type checking in Transforms sequences
joostvanzwieten Feb 13, 2020
6da6396
don't pop the head of transform chains
joostvanzwieten Feb 13, 2020
5995879
remove root trans item from StructuredTransforms
joostvanzwieten Feb 13, 2020
616b089
don't use Transforms.fromdims
joostvanzwieten Feb 11, 2020
310110b
update documentation TransformItem
joostvanzwieten Mar 16, 2020
e335abc
remove Opposite.simplified
joostvanzwieten Mar 17, 2020
4a81ed8
add function.Root
joostvanzwieten Feb 3, 2020
4d6a85b
add function.Subsample
joostvanzwieten Mar 16, 2020
353476d
add function.SubsampleMeta
joostvanzwieten Mar 16, 2020
40e6bb7
attach Root to Topology, Sample, Function
joostvanzwieten Feb 7, 2020
46f9adf
replace _transforms, _points with subsamples
joostvanzwieten Mar 16, 2020
d0963ad
replace ndims with subsamples in prepare_eval
joostvanzwieten Mar 16, 2020
fd53983
extend TransformsIndexWithTail with head
joostvanzwieten Jun 20, 2019
e509276
generalize derivatives of function.Argument
joostvanzwieten Jun 20, 2019
c08174c
add transform.linear, function.Linear
joostvanzwieten Jun 24, 2019
5f0e6d9
add numeric.gramschmidt, function.GramSchmidt
joostvanzwieten Jan 8, 2020
82a3d5c
add derivatives to rootcoords
joostvanzwieten Jun 20, 2019
b5512b0
compute grad(geom) using rootgradient
joostvanzwieten Jun 20, 2019
d9761b3
compute jacobian using rootgradient
joostvanzwieten Jun 24, 2019
412aae8
compute topo.locate with rootgradient
joostvanzwieten Jun 24, 2019
df91c23
drop localgradient, LocalCoords
joostvanzwieten Jun 24, 2019
78f0240
replace Transforms.fromdims with todims
joostvanzwieten Feb 13, 2020
fecab4f
impl det for transform.Updim,ScaledUpdim
joostvanzwieten Jan 12, 2020
f0451ab
add basis for manifold, normal space to Points
joostvanzwieten Jan 8, 2020
24421af
add ndimsnormal param, attr to Element
joostvanzwieten Jan 28, 2020
38eef35
WIP: wrap MosaicRef in WithManifoldEdgesRef
joostvanzwieten Jan 10, 2020
eb9c0e0
add TrimmedEdgesTransforms
joostvanzwieten Jan 28, 2020
ebe9b52
WIP
joostvanzwieten Feb 18, 2020
f7d0117
replace points evalarg with *subsamples
joostvanzwieten Mar 1, 2020
57de536
add function.ProductBasis
joostvanzwieten Mar 15, 2020
8994a38
reimplement ProductTopology
joostvanzwieten Mar 15, 2020
a233378
make mesh.rectilinear,.unitsquare tensorial
joostvanzwieten Mar 15, 2020
3065e8d
reenable mesh.newrectilinear tests
joostvanzwieten Mar 15, 2020
86d82d9
WIP: ProductSample, ProductBasis
joostvanzwieten Mar 2, 2020
29ee6e1
fixes
joostvanzwieten Mar 2, 2020
cf9d19d
WIP
joostvanzwieten Mar 3, 2020
db19da2
WIP
joostvanzwieten Mar 3, 2020
bf55a5e
WIP
joostvanzwieten Mar 3, 2020
596697c
update
joostvanzwieten Mar 4, 2020
6f882ba
update
joostvanzwieten Mar 6, 2020
adcf692
update
joostvanzwieten Mar 6, 2020
67675d2
f compute jacobian using rootgradient after introducing subsamplemeta
joostvanzwieten Mar 9, 2020
a5f8031
update
joostvanzwieten Mar 9, 2020
9b04cb7
updates
joostvanzwieten Mar 10, 2020
d1bc94e
add special case Sample implementations
joostvanzwieten Mar 10, 2020
1683869
add topology.StructuredLine
joostvanzwieten Mar 10, 2020
775a935
add Transforms.linear
joostvanzwieten Mar 10, 2020
f2df8e8
updates
joostvanzwieten Mar 21, 2020
b2c312a
improve Constant.simplified invariant axes check
joostvanzwieten Mar 21, 2020
05acfa9
implement intdata dot weights using function.*
joostvanzwieten Mar 22, 2020
260c059
update
joostvanzwieten Mar 22, 2020
be5a7fe
update
joostvanzwieten Mar 23, 2020
a769469
rename Transforms.linear to Transforms.basis
joostvanzwieten Mar 23, 2020
2ed1632
update
joostvanzwieten Mar 23, 2020
14a9263
fixes
joostvanzwieten Mar 23, 2020
678214b
implement revolved
joostvanzwieten Mar 23, 2020
7df268b
update
joostvanzwieten Mar 24, 2020
c0b4912
fixes
joostvanzwieten Mar 25, 2020
4c0f0a2
update
joostvanzwieten Mar 25, 2020
906104d
fix subsamplemeta with points is None
joostvanzwieten Apr 14, 2020
3b48830
fix trimming
joostvanzwieten May 11, 2020
f404370
preserve topological structure of empty topos
joostvanzwieten Jun 15, 2020
0ba778e
fix igroups orientation
joostvanzwieten Jun 9, 2020
11f417d
fix tri, hull of empty Sample
joostvanzwieten Jun 9, 2020
4aa87da
WIP: fix flipping normal of manifold refs
joostvanzwieten May 14, 2020
fa9b380
fix prepare_eval with subsample.transforms=None
joostvanzwieten Jun 15, 2020
057b049
add boundary and interfaces to empty topology
joostvanzwieten Jun 15, 2020
111e2bb
make Topology.integrate_elementwise tensorial
joostvanzwieten Jun 16, 2020
e43627f
add CompressedSample, CompressedTopology
joostvanzwieten Jun 16, 2020
362145e
update
joostvanzwieten Jun 16, 2020
099c6e3
revert ProductTopology.basis simplifications
joostvanzwieten Jun 16, 2020
b09c924
move normal, grad, dotnorm above Namespace
joostvanzwieten Jun 9, 2020
6b5e75d
add {append,prepend}axes helper functions
joostvanzwieten Jun 6, 2020
11acf2d
add Pointwise.outer constructor
joostvanzwieten Jun 8, 2020
94746ed
don't verify existence of func during expr parsing
joostvanzwieten Jun 5, 2020
c75701b
use summation convention for func calls
joostvanzwieten Jun 6, 2020
debb180
allow n as function in expressions
joostvanzwieten Jun 9, 2020
2c4cf8b
add `d(func, geom, ...)` as alt syntax for derivs
joostvanzwieten Jun 8, 2020
e384cbf
add `n(x_i)` as alt syntax for normal
joostvanzwieten Jun 9, 2020
2a18910
support user-defined functions in `Namespace`
joostvanzwieten Jun 8, 2020
87c81eb
support grad to nd geom
joostvanzwieten Jun 9, 2020
e9ad4c2
support normal of nd geom
joostvanzwieten Jun 9, 2020
a7831da
add Levi-Civita symbol
joostvanzwieten Jun 10, 2020
9ec5551
update examples to d(func, geom), n(geom) syntax
joostvanzwieten Jun 10, 2020
9b1d847
deprecate [f]_i and [f]_x_i expression syntax
joostvanzwieten Jun 16, 2020
6e2d55f
deprecate grad, deriv, normals with explicit geom
joostvanzwieten Jun 16, 2020
2c1214c
extend support for TensorPoints.tri
joostvanzwieten Jun 30, 2020
0d36635
fix
joostvanzwieten Jul 10, 2020
0973d67
restore multidimensional slicing of tensor topos
joostvanzwieten Jul 13, 2020
77952ce
impl TensorPoints.basis
joostvanzwieten Jul 14, 2020
4259762
support TensorPoints.tri with points2.ndims=1
joostvanzwieten Jul 14, 2020
6bf212b
add support for line segments in export.vtk
CVerhoosel May 8, 2020
cc56ad0
fix typo
joostvanzwieten Jul 22, 2020
8a4ae7c
implement Element.__bool__
joostvanzwieten Jan 7, 2020
bf06b47
inherit groups in HierarchicalTopology.interfaces
joostvanzwieten Mar 25, 2020
7361898
add DisjointUnion.basis
joostvanzwieten Jan 7, 2020
5ff9d44
add function.WithTransformsBasis
joostvanzwieten Jan 7, 2020
55634b0
add topology.WithIdentifierTopology
joostvanzwieten Jan 7, 2020
7380aa1
WIP: partition
joostvanzwieten Dec 16, 2019
d2a4ca6
support alternate root name in partition
joostvanzwieten Apr 16, 2021
3021591
prune gmsh periodic table of nonexisting vertices
gertjanvanzwieten Sep 23, 2020
1aaf319
skip gmsh edge elements with no adjacent area
gertjanvanzwieten Sep 23, 2020
92ada06
remove unused vnodes and tidy up
gertjanvanzwieten Sep 23, 2020
a2ccd39
refactor parsegmsh to support meshio < and >=4.3.1
gertjanvanzwieten Oct 15, 2020
bdd429b
fixes
joostvanzwieten May 18, 2021
21a144b
make tol a mandatory argument for locate
gertjanvanzwieten Apr 29, 2020
480ff67
add weights argument to locate
gertjanvanzwieten Jul 5, 2020
1d7b802
remove locate args ischeme and scale, add maxdist
gertjanvanzwieten Dec 10, 2020
38dbbce
parallelize Topology.trim
joostvanzwieten May 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add support for line segments in export.vtk
  • Loading branch information
CVerhoosel authored and joostvanzwieten committed Jul 15, 2020
commit 6bf212bf7f788eb5bc561ad65d912d4c2c1ee52d
1 change: 1 addition & 0 deletions nutils/export.py
Original file line number Diff line number Diff line change
@@ -119,6 +119,7 @@ def vtk(name, cells, points, kwargs=...):
'''

vtkcelltype = {
2: numpy.array( 3, dtype='>u4'), # VTK_LINE
3: numpy.array( 5, dtype='>u4'), # VTK_TRIANGLE
4: numpy.array(10, dtype='>u4')} # VTK_TETRA
vtkndim = {