Skip to content

Commit

Permalink
Deployed 2d69995 with MkDocs version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmr committed Feb 19, 2024
1 parent cf173ea commit c809208
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 38 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,5 @@ <h2 id="initialize">Initialize</h2>

<!--
MkDocs version : 1.4.2
Build Date UTC : 2024-02-14 10:26:59.531811+00:00
Build Date UTC : 2024-02-19 14:53:40.159846+00:00
-->
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,92 +2,92 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-14</lastmod>
<lastmod>2024-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.
35 changes: 17 additions & 18 deletions wavepropagation-electromagnetic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,34 +194,33 @@ <h2 id="transversely-isotropic-grains">Transversely isotropic grains</h2>
\]</div>
<p>where <span class="arithmatex">\(\langle {\bf m}'^2 \rangle\)</span> is the <a href="../cpo-structuretensors/">second-order structure tensor</a> (aka <span class="arithmatex">\({\bf a}^{(2)}\)</span>).</p>
<h3 id="example-for-glacier-ice">Example for glacier ice</h3>
<p>To be documented.</p>
<!--
<p>Experimental, bug reports are welcome.</p>
<pre><code class="language-python">import numpy as np
from specfabpy import specfabpy as sf
lm, nlm_len = sf.init(2) # L=2 is sufficient here
from specfabpy import specfab as sf
lm, nlm_len = sf.init(4)
nlm = np.zeros((nlm_len), dtype=np.complex64) # array of expansion coefficients

# Physical parameters
# ... note eps=eps0*epsr, mu=mu0*mur
epsr_grain = (3.17, 3.17-0.034) # (epsc, epsa); relative permittivity of a single grain parallel (c) and perpendicular (a) to symmetry axis
mur = 1 # relative permeability of a single grain
### Physical parameters (note eps=eps0*epsr, mu=mu0*mur)
epsr_m = 3.17 # relative permittivity of a single grain parallel to symmetry axis (c)
epsr_t = 3.17-0.034 # relative permittivity of a single grain perpendicular to symmetry axis (a)
mur = 1 # relative permeability of a single grain

# c-axis number distribution (nlm) from second-order structure tensor (a2)
### c-axis number distribution (nlm) from second-order structure tensor (a2)
p = np.array([0,0,1]) # preferred c-axis direction
a2 = np.einsum('i,j', p,p) # a2 if ODF = deltafunc(r-p)
nlm[:sf.L2len] = sf.a2_to_nlm(a2) # l&lt;=2 expansion coefficients for corresponding normalized ODF

# Propagation directions of interest
theta, phi = np.deg2rad([90,70,]), np.deg2rad([0,10,]) # wave-vector directions (theta is colatitude, phi is longitude)
### Propagation directions of interest
theta, phi = np.deg2rad([0,90,]), np.deg2rad([0,0,]) # wave-vector directions (theta is colatitude, phi is longitude)

# Calculate phase velocities
Vi = sf.Vi_electromagnetic_tranisotropic(nlm, eps_grain, mu, theta,phi) # phase velocities are V_S1=vi[0,:], V_S2=vi[1,:]
### Calculate phase velocities
Vi = sf.Vi_electromagnetic_tranisotropic(nlm, epsr_m, epsr_t, mur, theta,phi) # fast and slow phase velocities are V_S1=vi[0,:], V_S2=vi[1,:]
</code></pre>
-->

<div class="admonition tip">
<p class="admonition-title">Evolving CPO</p>
<p>The below animation shows directional S-wave velocities for a CPO evolving under <a href="../deformation-modes/"><span class="arithmatex">\({\hat {\bf x}}\)</span>&mdash;<span class="arithmatex">\({\hat {\bf z}}\)</span> confined compression</a>, relative to an isotropic CPO, when subject to <a href="../cpo-dynamics-tranisotropic/">lattice rotation</a>.</p>
<p><img alt="" src="https://raw.githubusercontent.com/nicholasmr/specfab/main/demo/cube-crush-animation/S2-maps/S2-vi-EM.gif" style="width:460px" /></p>
</div>
<h2 id="orthotropic-grains">Orthotropic grains</h2>
<p>Not yet supported.</p>

Expand Down

0 comments on commit c809208

Please sign in to comment.