Commit 207393d0 authored by florez's avatar florez
Browse files

akantu build copy

parent e220e667
Metadata-Version: 2.1
Name: akantu
Version: 4.0.0
Summary: Akantu: Swiss-Made Open-Source Finite-Element Library
Home-page: https://akantu.ch
Author: Guillaume Anciaux
Author-email: guillaume.anciaux@epfl.ch
License: GPL
Platform: UNKNOWN
Requires-Dist: numpy
Requires-Dist: scipy
UNKNOWN
akantu-4.0.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
akantu-4.0.0.dist-info/METADATA,sha256=62ld_O-QRrxcvDGd9wwUtm2QT2BKt1hxNv4AhjHZCqg,292
akantu-4.0.0.dist-info/RECORD,,
akantu-4.0.0.dist-info/WHEEL,sha256=RIeRBYNNiNK3sXfnenIjXDrR2Tzyz05xCMpKF2hJ1iA,111
akantu-4.0.0.dist-info/top_level.txt,sha256=uvXy6G9Al0BYWCJCZX7PQ-L3XK8CCeiHpXL9nIULjN0,19
akantu.libs/libakantu-84bd9752.so.4.0.0,sha256=rb4QqGNDu5tv0yhsrQdns68QcBPF0WX5D5K3jrVDHAA,37507048
akantu.libs/libdmumps-158dcd71.so,sha256=OWKVcwKtVWU6uk4ScMIf88urq14YL5qVqP1725EzWiU,2375464
akantu.libs/libgfortran-2e0d59d6.so.5.0.0,sha256=ob88zAokg9Z5HrvJn1DTFsn8aFwV0atWGr8t2gXaXDw,2260072
akantu.libs/libiohelper-7d4fd10c.so,sha256=hi2yHNV4B7Lj1ySO2iTWKKbw4kJHPaY0Y24XO4hx8bk,226264
akantu.libs/libmpiseq-3fa3edad.so,sha256=hfixmhQATv1_5kysC8pZ1nteAAaHceF3gIsbAnpnf2M,51672
akantu.libs/libmumps_common-9d25ddf3.so,sha256=Oyk6APY3X0m_jdYXJMkhuxQaTIcffwg7ym2OFSpqzAo,377480
akantu.libs/libopenblas_haswell-r0-a6ac2fd2.3.14.so,sha256=A515LgeuSvPrLEI7tBwHiMXU8maFU-utYoZp18LcFrs,12421776
akantu.libs/libpord-efb26051.so,sha256=d5R3WaYIUJAst9DoqqqUyJ1GbXJjVXrvi8Th5XQyvEo,105112
akantu.libs/libquadmath-2d0c479f.so.0.0.0,sha256=nw_dV1mLMDFbFsMwYHIwErTgu6dsMaBajxJfe8TohIA,263992
akantu.libs/libz-6bbdc615.so.1.2.11,sha256=fRMnxQhVoLX4KJQpTRZtBfYATcswFETQZysNYTTf4vQ,100472
akantu/__init__.py,sha256=mJYGHJsNS33FjVJQZ8C_V6tycmk98RtBUt2X0mYl-PI,1555
akantu/__pycache__/__init__.cpython-38.pyc,,
py11_akantu.cpython-38-x86_64-linux-gnu.so,sha256=bfmhjJrxRKLMyV6swhi0Hd0nqfgUIP56374SJeww9zI,2457424
Wheel-Version: 1.0
Generator: bdist_wheel (0.36.2)
Root-Is-Purelib: false
Tag: cp38-cp38-manylinux2010_x86_64
import scipy.sparse as _aka_sparse
import numpy as _aka_np
import py11_akantu
private_keys = set(dir(py11_akantu)) - set(dir())
for k in private_keys:
globals()[k] = getattr(py11_akantu, k)
if py11_akantu.has_mpi():
try:
from mpi4py import MPI # noqa: F401
except Exception:
pass
def initialize(*args, **kwargs):
raise RuntimeError("No need to call initialize,"
" use parseInput to read an input file")
def finalize(*args, **kwargs):
raise RuntimeError("No need to call finalize")
class AkantuSparseMatrix (_aka_sparse.coo_matrix):
def __init__(self, aka_sparse):
self.aka_sparse = aka_sparse
matrix_type = self.aka_sparse.getMatrixType()
sz = self.aka_sparse.size()
row = self.aka_sparse.getIRN()[:, 0] - 1
col = self.aka_sparse.getJCN()[:, 0] - 1
data = self.aka_sparse.getA()[:, 0]
row = row.copy()
col = col.copy()
data = data.copy()
if matrix_type == py11_akantu._symmetric:
non_diags = (row != col)
row_sup = col[non_diags]
col_sup = row[non_diags]
data_sup = data[non_diags]
col = _aka_np.concatenate((col, col_sup))
row = _aka_np.concatenate((row, row_sup))
data = _aka_np.concatenate((data, data_sup))
_aka_sparse.coo_matrix.__init__(
self, (data, (row, col)), shape=(sz, sz))
FromStress = py11_akantu.FromHigherDim
FromTraction = py11_akantu.FromSameDim
py11_akantu.__initialize()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment