Topology¶
The topology module defines the topology objects, notably the
StructuredTopology
and UnstructuredTopology
. Maintaining
strict separation of topological and geometrical information, the topology
represents a set of elements and their interconnectivity, boundaries,
refinements, subtopologies etc, but not their positioning in physical space. The
dimension of the topology represents the dimension of its elements, not that of
the the space they are embedded in.
The primary role of topologies is to form a domain for nutils.function
objects, like the geometry function and function bases for analysis, as well as
provide tools for their construction. It also offers methods for integration and
sampling, thus providing a high level interface to operations otherwise written
out in element loops. For lower level operations topologies can be used as
nutils.element
iterators.
-
class
nutils.topology.
Topology
(ndims)[source]¶ topology base class
-
elem_eval
(funcs, ischeme, separate=False, geometry=None, asfunction=False, edit=<function <lambda>>, *, arguments=None)[source]¶ element-wise evaluation
-
integrate
(funcs, ischeme='gauss', degree=None, geometry=None, force_dense=False, fcache=None, edit=<function <lambda>>, *, arguments=None)[source]¶
-
project
(fun, onto, geometry, tol=0, ischeme='gauss', degree=None, droptol=1e-12, exact_boundaries=False, constrain=None, verify=None, ptype='lsqr', precon='diag', edit=<function <lambda>>, *, arguments=None, **solverargs)[source]¶ L2 projection of function onto function space
-
-
class
nutils.topology.
WithGroupsTopology
(basetopo, vgroups={}, bgroups={}, igroups={}, pgroups={})[source]¶ item topology
-
class
nutils.topology.
StructuredLine
(root, i, j, periodic=False, bnames=None)[source]¶ structured topology
-
class
nutils.topology.
StructuredTopology
(root, axes, nrefine=0, bnames=None)[source]¶ structured topology
-
basis_spline
(degree, knotvalues=None, knotmultiplicities=None, periodic=None, removedofs=None)[source]¶ spline basis
-
refined
¶ refine non-uniformly
-
-
class
nutils.topology.
UnstructuredTopology
(ndims, elements)[source]¶ unstructured topology
-
basis_std
(degree)¶ bernstein shape functions
-
-
class
nutils.topology.
OrientedGroupsTopology
(basetopo, elems)[source]¶ unstructured topology with undirected semi-overlapping basetopology
-
class
nutils.topology.
TrimmedTopologyBoundaryItem
(btopo, trimmed, othertopo)[source]¶ trimmed topology boundary item
-
class
nutils.topology.
HierarchicalTopology
(basetopo, allelements, precise)[source]¶ collection of nested topology elments
-
class
nutils.topology.
RevolutionTopology
[source]¶ topology consisting of a single revolution element
-
class
nutils.topology.
MultipatchTopology
(patches)[source]¶ multipatch topology
-
class
Patch
(topo, verts, boundaries)¶ -
boundaries
¶ Alias for field number 2
-
topo
¶ Alias for field number 0
-
verts
¶ Alias for field number 1
-
-
class