Skip to content

Commit 69450f7

Browse files
author
Documenter.jl
committed
build based on fec0ec0
1 parent 412fc9e commit 69450f7

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

dev/.documenter-siteinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"julia_version":"1.12.1","generation_timestamp":"2025-11-20T10:46:12","documenter_version":"1.16.0"}}
1+
{"documenter":{"julia_version":"1.12.1","generation_timestamp":"2025-11-20T10:46:47","documenter_version":"1.16.0"}}

dev/allindex/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev/objects.inv

0 Bytes
Binary file not shown.

dev/subgrid/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Subgrid · ExtendableGrids.jl</title><meta name="title" content="Subgrid · ExtendableGrids.jl"/><meta property="og:title" content="Subgrid · ExtendableGrids.jl"/><meta property="twitter:title" content="Subgrid · ExtendableGrids.jl"/><meta name="description" content="Documentation for ExtendableGrids.jl."/><meta property="og:description" content="Documentation for ExtendableGrids.jl."/><meta property="twitter:description" content="Documentation for ExtendableGrids.jl."/><script data-outdated-warner src="../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.050/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../search_index.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/catppuccin-mocha.css" data-theme-name="catppuccin-mocha"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/catppuccin-macchiato.css" data-theme-name="catppuccin-macchiato"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/catppuccin-frappe.css" data-theme-name="catppuccin-frappe"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/catppuccin-latte.css" data-theme-name="catppuccin-latte"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script><link href="../assets/citations.css" rel="stylesheet" type="text/css"/></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit"><a href="../">ExtendableGrids.jl</a></span></div><button class="docs-search-query input is-rounded is-small is-clickable my-2 mx-auto py-1 px-2" id="documenter-search-query">Search docs (Ctrl + /)</button><ul class="docs-menu"><li><a class="tocitem" href="../">Home</a></li><li><a class="tocitem" href="../changes/">Changes</a></li><li><a class="tocitem" href="../adjacency/">Adjacency</a></li><li><a class="tocitem" href="../vectorofconstants/">Vector of constants</a></li><li><a class="tocitem" href="../typehierarchy/">Type hierarchy</a></li><li><a class="tocitem" href="../tdict/">The TDict interface pattern</a></li><li><a class="tocitem" href="../elementgeometry/">Element geometry</a></li><li><a class="tocitem" href="../shape_specs/">Shape specifications</a></li><li><a class="tocitem" href="../coordinatesystem/">Coordinate systems</a></li><li><a class="tocitem" href="../extendablegrid/">Extendable grid</a></li><li class="is-active"><a class="tocitem" href>Subgrid</a><ul class="internal"><li><a class="tocitem" href="#API"><span>API</span></a></li></ul></li><li><a class="tocitem" href="../more/">Derived adjacencies</a></li><li><a class="tocitem" href="../voronoi/">Voronoi tools</a></li><li><a class="tocitem" href="../assembly/">Assembly support</a></li><li><a class="tocitem" href="../cellfinder/">Search and Interpolation</a></li><li><a class="tocitem" href="../arraytools/">Array tools</a></li><li><a class="tocitem" href="../gridconstructors/">Grid constructors</a></li><li><a class="tocitem" href="../output/">Grid output</a></li><li><a class="tocitem" href="../refinement/">Mesh refinement</a></li><li><a class="tocitem" href="../partitioning/">Grid partitioning</a></li><li><a class="tocitem" href="../regionedit/">Region editing</a></li><li><a class="tocitem" href="../tokenstream/">Token streams</a></li><li><a class="tocitem" href="../binnedpointlist/">BinnedPointList</a></li><li><a class="tocitem" href="../gmsh/">Gmsh interoperability</a></li><li><a class="tocitem" href="../allindex/">Index</a></li><li><span class="tocitem">Examples</span><ul><li><a class="tocitem" href="../script_examples/examples1d/">examples1d</a></li><li><a class="tocitem" href="../script_examples/examples2d/">examples2d</a></li><li><a class="tocitem" href="../script_examples/examples3d/">examples3d</a></li><li><a class="tocitem" href="../script_examples/gmsh/">gmsh</a></li><li><a class="tocitem" href="../plutostatichtml_examples/pluto-partitioning/">Partitioning</a></li></ul></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><a class="docs-sidebar-button docs-navbar-link fa-solid fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Subgrid</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Subgrid</a></li></ul></nav><div class="docs-right"><a class="docs-navbar-link" href="https://github.com/WIAS-PDELib/ExtendableGrids.jl" title="Edit source on GitHub"><span class="docs-icon fa-solid"></span></a><a class="docs-settings-button docs-navbar-link fa-solid fa-gear" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-article-toggle-button fa-solid fa-chevron-up" id="documenter-article-toggle-button" href="javascript:;" title="Collapse all docstrings"></a></div></header><article class="content" id="documenter-page"><h1 id="Subgrid"><a class="docs-heading-anchor" href="#Subgrid">Subgrid</a><a id="Subgrid-1"></a><a class="docs-heading-anchor-permalink" href="#Subgrid" title="Permalink"></a></h1><p>Subgrids of an ExtendableGrid are again of the same type ExtendableGrid and unse the typed Dict mechanism to store linkage to the parent grid.</p><pre><code class="language-julia hljs">grid=simplexgrid([1,2,3], [4,5,6])
33
sub=subgrid(grid,[2],boundary=true, transform=(a,b) -&gt; (a[1]=10*b[2]))
44
println(keys(sub))
5-
println(sub[Coordinates])</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Type{&lt;:AbstractGridComponent}[CellRegions, ParentGridRelation, Coordinates, CellNodes, CellParents, NumBFaceRegions, BFaceRegions, CellGeometries, BFaceGeometries, ParentGrid, NodeParents, BFaceNodes, CoordinateSystem]
5+
println(sub[Coordinates])</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Type{&lt;:AbstractGridComponent}[Coordinates, BFaceGeometries, NumBFaceRegions, ParentGrid, NodeParents, CellGeometries, CellParents, CoordinateSystem, CellNodes, BFaceNodes, CellRegions, ParentGridRelation, BFaceRegions]
66
[40 50 60]</code></pre><p>Given a vector on the parent grid, one can create a view of this vecotor on the subgrid:</p><pre><code class="language-julia hljs">grid=simplexgrid([1,2,3], [4,5,6])
77
sub=subgrid(grid,[2],boundary=true, transform=(a,b) -&gt; (a[1]=10*b[2]))
88
v=[i for i=1:num_nodes(grid)]

0 commit comments

Comments
 (0)