Skip to content

Commit

Permalink
deploy: f5a6104
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-mueller committed Jun 12, 2024
1 parent e478808 commit c01d51f
Show file tree
Hide file tree
Showing 136 changed files with 5,529 additions and 3,854 deletions.
106 changes: 53 additions & 53 deletions 01_code_usage/01_toolboxes/Readme.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 01_code_usage/01_toolboxes/demo_analyze_everything.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 01_code_usage/01_toolboxes/demo_anisotropic_stresses.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 01_code_usage/02_example_workflows/Readme.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 01_code_usage/02_example_workflows/demo_fit_ellipsoid_code.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 01_code_usage/02_example_workflows/demo_spherical_harmonics_code.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 01_code_usage/02_example_workflows/demo_surface_tracing.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 01_code_usage/02_example_workflows/demo_timelapse_processing.html

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 01_code_usage/code_usage.html

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 02_interactive_usage/01_toolboxes/Readme.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 02_interactive_usage/01_toolboxes/demo_stress_toolbox_interactive.html

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 02_interactive_usage/02_example_workflows/Readme.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 02_interactive_usage/02_example_workflows/demo_measure_curvature.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 02_interactive_usage/interactive_usage.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 03_glossary/01_spherical_harmonics/01_spherical_harmonics.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 03_glossary/01_spherical_harmonics/Readme.html

Large diffs are not rendered by default.

114 changes: 58 additions & 56 deletions 04_FAQ/Acknowledgement_and_citation.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 04_FAQ/Installation.html

Large diffs are not rendered by default.

117 changes: 60 additions & 57 deletions 04_FAQ/Validation.html

Large diffs are not rendered by default.

924 changes: 924 additions & 0 deletions 04_FAQ/bulk_vs_surface.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 04_FAQ/validation/analyze_validation.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 04_FAQ/validation/create_validation_data.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 04_FAQ/validation/validation_stress_paper.html

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 05_API/api.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 05_API/approximation.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 05_API/measurements.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 05_API/reconstruction.html

Large diffs are not rendered by default.

108 changes: 55 additions & 53 deletions 05_API/utils.html

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions 05_API/vectors.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/example_droplet_bulk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/example_droplet_merge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/example_droplet_surface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
542 changes: 542 additions & 0 deletions _sources/04_FAQ/bulk_vs_surface.ipynb

Large diffs are not rendered by default.

104 changes: 89 additions & 15 deletions _sphinx_design_static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,101 @@
var sd_labels_by_text = {};
// @ts-check

// Extra JS capability for selected tabs to be synced
// The selection is stored in local storage so that it persists across page loads.

/**
* @type {Record<string, HTMLElement[]>}
*/
let sd_id_to_elements = {};
const storageKeyPrefix = "sphinx-design-tab-id-";

/**
* Create a key for a tab element.
* @param {HTMLElement} el - The tab element.
* @returns {[string, string, string] | null} - The key.
*
*/
function create_key(el) {
let syncId = el.getAttribute("data-sync-id");
let syncGroup = el.getAttribute("data-sync-group");
if (!syncId || !syncGroup) return null;
return [syncGroup, syncId, syncGroup + "--" + syncId];
}

/**
* Initialize the tab selection.
*
*/
function ready() {
const li = document.getElementsByClassName("sd-tab-label");
for (const label of li) {
syncId = label.getAttribute("data-sync-id");
if (syncId) {
label.onclick = onLabelClick;
if (!sd_labels_by_text[syncId]) {
sd_labels_by_text[syncId] = [];
// Find all tabs with sync data

/** @type {string[]} */
let groups = [];

document.querySelectorAll(".sd-tab-label").forEach((label) => {
if (label instanceof HTMLElement) {
let data = create_key(label);
if (data) {
let [group, id, key] = data;

// add click event listener
// @ts-ignore
label.onclick = onSDLabelClick;

// store map of key to elements
if (!sd_id_to_elements[key]) {
sd_id_to_elements[key] = [];
}
sd_id_to_elements[key].push(label);

if (groups.indexOf(group) === -1) {
groups.push(group);
// Check if a specific tab has been selected via URL parameter
const tabParam = new URLSearchParams(window.location.search).get(
group
);
if (tabParam) {
console.log(
"sphinx-design: Selecting tab id for group '" +
group +
"' from URL parameter: " +
tabParam
);
window.sessionStorage.setItem(storageKeyPrefix + group, tabParam);
}
}

// Check is a specific tab has been selected previously
let previousId = window.sessionStorage.getItem(
storageKeyPrefix + group
);
if (previousId === id) {
// console.log(
// "sphinx-design: Selecting tab from session storage: " + id
// );
// @ts-ignore
label.previousElementSibling.checked = true;
}
}
sd_labels_by_text[syncId].push(label);
}
}
});
}

function onLabelClick() {
// Activate other inputs with the same sync id.
syncId = this.getAttribute("data-sync-id");
for (label of sd_labels_by_text[syncId]) {
/**
* Activate other tabs with the same sync id.
*
* @this {HTMLElement} - The element that was clicked.
*/
function onSDLabelClick() {
let data = create_key(this);
if (!data) return;
let [group, id, key] = data;
for (const label of sd_id_to_elements[key]) {
if (label === this) continue;
// @ts-ignore
label.previousElementSibling.checked = true;
}
window.localStorage.setItem("sphinx-design-last-tab", syncId);
window.sessionStorage.setItem(storageKeyPrefix + group, id);
}

document.addEventListener("DOMContentLoaded", ready, false);

Large diffs are not rendered by default.

104 changes: 89 additions & 15 deletions _static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,101 @@
var sd_labels_by_text = {};
// @ts-check

// Extra JS capability for selected tabs to be synced
// The selection is stored in local storage so that it persists across page loads.

/**
* @type {Record<string, HTMLElement[]>}
*/
let sd_id_to_elements = {};
const storageKeyPrefix = "sphinx-design-tab-id-";

/**
* Create a key for a tab element.
* @param {HTMLElement} el - The tab element.
* @returns {[string, string, string] | null} - The key.
*
*/
function create_key(el) {
let syncId = el.getAttribute("data-sync-id");
let syncGroup = el.getAttribute("data-sync-group");
if (!syncId || !syncGroup) return null;
return [syncGroup, syncId, syncGroup + "--" + syncId];
}

/**
* Initialize the tab selection.
*
*/
function ready() {
const li = document.getElementsByClassName("sd-tab-label");
for (const label of li) {
syncId = label.getAttribute("data-sync-id");
if (syncId) {
label.onclick = onLabelClick;
if (!sd_labels_by_text[syncId]) {
sd_labels_by_text[syncId] = [];
// Find all tabs with sync data

/** @type {string[]} */
let groups = [];

document.querySelectorAll(".sd-tab-label").forEach((label) => {
if (label instanceof HTMLElement) {
let data = create_key(label);
if (data) {
let [group, id, key] = data;

// add click event listener
// @ts-ignore
label.onclick = onSDLabelClick;

// store map of key to elements
if (!sd_id_to_elements[key]) {
sd_id_to_elements[key] = [];
}
sd_id_to_elements[key].push(label);

if (groups.indexOf(group) === -1) {
groups.push(group);
// Check if a specific tab has been selected via URL parameter
const tabParam = new URLSearchParams(window.location.search).get(
group
);
if (tabParam) {
console.log(
"sphinx-design: Selecting tab id for group '" +
group +
"' from URL parameter: " +
tabParam
);
window.sessionStorage.setItem(storageKeyPrefix + group, tabParam);
}
}

// Check is a specific tab has been selected previously
let previousId = window.sessionStorage.getItem(
storageKeyPrefix + group
);
if (previousId === id) {
// console.log(
// "sphinx-design: Selecting tab from session storage: " + id
// );
// @ts-ignore
label.previousElementSibling.checked = true;
}
}
sd_labels_by_text[syncId].push(label);
}
}
});
}

function onLabelClick() {
// Activate other inputs with the same sync id.
syncId = this.getAttribute("data-sync-id");
for (label of sd_labels_by_text[syncId]) {
/**
* Activate other tabs with the same sync id.
*
* @this {HTMLElement} - The element that was clicked.
*/
function onSDLabelClick() {
let data = create_key(this);
if (!data) return;
let [group, id, key] = data;
for (const label of sd_id_to_elements[key]) {
if (label === this) continue;
// @ts-ignore
label.previousElementSibling.checked = true;
}
window.localStorage.setItem("sphinx-design-last-tab", syncId);
window.sessionStorage.setItem(storageKeyPrefix + group, id);
}

document.addEventListener("DOMContentLoaded", ready, false);
64 changes: 32 additions & 32 deletions _static/locales/ar/LC_MESSAGES/booktheme.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,68 +8,68 @@ msgstr ""
"Language: ar\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Print to PDF"
msgstr "طباعة إلى PDF"

msgid "Theme by the"
msgstr "موضوع بواسطة"

msgid "Open an issue"
msgstr "افتح قضية"
msgid "Download source file"
msgstr "تنزيل ملف المصدر"

msgid "open issue"
msgstr "قضية مفتوحة"

msgid "Contents"
msgstr "محتويات"

msgid "previous page"
msgstr "الصفحة السابقة"

msgid "Download notebook file"
msgstr "تنزيل ملف دفتر الملاحظات"

msgid "Sphinx Book Theme"
msgstr "موضوع كتاب أبو الهول"

msgid "Fullscreen mode"
msgstr "وضع ملء الشاشة"

msgid "Edit this page"
msgstr "قم بتحرير هذه الصفحة"

msgid "By"
msgstr "بواسطة"

msgid "Copyright"
msgstr "حقوق النشر"

msgid "Download this page"
msgstr "قم بتنزيل هذه الصفحة"

msgid "Source repository"
msgstr "مستودع المصدر"

msgid "previous page"
msgstr "الصفحة السابقة"
msgid "By"
msgstr "بواسطة"

msgid "next page"
msgstr "الصفحة التالية"
msgid "repository"
msgstr "مخزن"

msgid "Last updated on"
msgstr "آخر تحديث في"

msgid "Toggle navigation"
msgstr "تبديل التنقل"

msgid "repository"
msgstr "مخزن"
msgid "Sphinx Book Theme"
msgstr "موضوع كتاب أبو الهول"

msgid "suggest edit"
msgstr "أقترح تحرير"

msgid "open issue"
msgstr "قضية مفتوحة"
msgid "Open an issue"
msgstr "افتح قضية"

msgid "Launch"
msgstr "إطلاق"

msgid "Print to PDF"
msgstr "طباعة إلى PDF"
msgid "Fullscreen mode"
msgstr "وضع ملء الشاشة"

msgid "Edit this page"
msgstr "قم بتحرير هذه الصفحة"

msgid "By the"
msgstr "بواسطة"

msgid "Last updated on"
msgstr "آخر تحديث في"

msgid "Download source file"
msgstr "تنزيل ملف المصدر"

msgid "Download this page"
msgstr "قم بتنزيل هذه الصفحة"
msgid "next page"
msgstr "الصفحة التالية"
Loading

0 comments on commit c01d51f

Please sign in to comment.