File tree Expand file tree Collapse file tree 5 files changed +9
-15
lines changed
Expand file tree Collapse file tree 5 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 11/lib /CMakeLists.txt.user
22build
33CMakeLists.txt.user
4+ .idea
Original file line number Diff line number Diff line change 22# Copyright 2013-2018 pyMOR developers and contributors. All rights reserved.
33# License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
44
5- import pytest
65import numpy as np
76import pydealii_bindings as dealii
87
Original file line number Diff line number Diff line change 1- # setup.py with cmake extension following https://stackoverflow.com/questions/42585210/extending-setuptools-extension-to-use-cmake-in-setup-py
1+ # setup.py with cmake extension following
2+ # https://stackoverflow.com/questions/42585210/
23
34import os
45import pathlib
56import sys
7+ from setuptools import setup , Extension
8+ from setuptools import find_packages
9+ from setuptools .command .build_ext import build_ext as build_ext_orig
610
711# versioneer (+dependencies) does not work in a pep518/7 context w/o modification here
812sys .path .append (os .path .dirname (__file__ ))
913import versioneer # noqa
1014
11- from setuptools import setup , Extension
12- from setuptools import find_packages
13- from setuptools .command .build_ext import build_ext as build_ext_orig
14-
1515
1616class CMakeExtension (Extension ):
1717 def __init__ (self , name ):
Original file line number Diff line number Diff line change 44
55from pymor .basic import *
66
7- # instantiate deal.II model
8- from dealii_elasticity import ElasticityExample
9-
10- cpp_disc = ElasticityExample (refine_steps = 7 )
11-
12-
13- # wrap as pyMOR discretization
147from pymor_dealii .pymor .operator import DealIIMatrixOperator
158from pymor_dealii .pymor .vectorarray import DealIIVectorSpace
169from pymor_dealii .pymor .gui import DealIIVisualizer
10+ from dealii_elasticity import ElasticityExample
11+
12+ cpp_disc = ElasticityExample (refine_steps = 7 )
1713
1814
1915def run (plot_error = True ):
Original file line number Diff line number Diff line change 1- import pytest
2- import pathlib
31import pickle
42from pathlib import Path
53import numpy as np
You can’t perform that action at this time.
0 commit comments