Clone spack:
git clone https://github.com/spack/spack.git#!/bin/bash
| # Author: Jørgen S. Dokken | |
| # SPDX-License-Identifier: MIT | |
| import numpy as np | |
| from mesh_converter import Mesh, CellType, vtk | |
| points = np.array( | |
| [[0.0, 0.0], [1.0, 0.0], [1.0, 1.0], [0.0, 1.0], [2.0, 0.0], | |
| [2., 2.], [3., 2.],[3,3],[2.5,2],[3, 2.5], [2.3, 2.7]], dtype=np.float64 | |
| ) |
| # Author: Jørgen S. Dokken | |
| # SPDX-License-Identifier: MIT | |
| from pathlib import Path | |
| from mpi4py import MPI | |
| import h5py |
| # Local solver using Scipy | |
| # To be used with DOLFINx and a local-assembler | |
| # | |
| # Author: Jørgen S. Dokken | |
| # | |
| # License: MIT | |
| import scipy | |
| import scipy.linalg | |
| import numpy |
| # Copyright (C) 2021 Chris Richardson, Jørgen S. Dokken | |
| # | |
| # SPDX-License-Identifier: LGPL-3.0-or-later | |
| import numba | |
| import networkx | |
| from collections import defaultdict | |
| import h5py | |
| import numpy as np | |
| import datetime |
compile_demo(){
cmake -G Ninja -B build-dir-${DOLFINX_MODE}${DOLFINX_PRECISION} -DCMAKE_BUILD_TYPE=${DOLFINX_CMAKE_BUILD_TYPE} -DCMAKE_CXX_FLAGS="${DOLFINX_CMAKE_CXX_FLAGS}" . && ninja -j8 -C build-dir-${DOLFINX_MODE}${DOLFINX_PRECISION}
}
rebuild(){
BASEDIR=$(pwd)
cd /root/shared/"$1"People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |