This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This programmable filter can be used on an unstructured grid to display the | |
# numerical value of the cell type (i.e., tet, hex, wedge, ...) | |
output.CellData.append(inputs[0].CellTypes, 'Cell_type') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recommended to run in a clean environment | |
export EMAIL="builder@localhost" | |
apt update | |
apt dist-upgrade -y | |
apt install -y git git-buildpackage --no-install-recommends | |
git config --global user.name "Bob the Builder" | |
git config --global user.email "$EMAIL" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# 2nd order identity tensor | |
I = np.eye(3) | |
# Lamé Constants | |
lam_0 = 456 | |
mu_0 = 123 | |
print(f"G = {mu_0}") |
OlderNewer