File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 make html
5555 shell : micromamba-shell {0}
5656
57- - name : Compile examples
58- run : |
59- mkdir examples/cpp/build && cd examples/cpp/build
60- cmake -DCMAKE_VERBOSE_MAKEFILE=yes -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
61- make -j3
62- shell : micromamba-shell {0}
63-
6457 - name : Try to import libMobility
6558 run : |
6659 python -c "import libMobility"
7366 #Only SelfMobility tests can run in the CPU
7467 pytest -sv -k SelfMobility tests/test*py
7568 shell : micromamba-shell {0}
76-
69+
70+ - name : Run examples
71+ run : |
72+ cd examples/
73+ python example.py
74+ shell : micromamba-shell {0}
75+
7776 - name : Install via pip
7877 run : |
7978 pip install -vv .
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ channels:
55dependencies :
66 - python <3.13
77 - cmake >=3.24
8- - cuda-version<= 13.1
8+ - cuda-version <= 13.1
99 - gxx >9,<15
1010 - cuda-libraries-dev
1111 - cuda-nvcc
File renamed without changes.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5656
5757# Some solvers (e.g. SelfMobility) have no thermal drift and return all zeros.
5858# In general, the thermal drift is non-zero and other solvers (e.g. DPStokes) return a non-zero value.
59- linear_drift , _ = solver .thermalDrift ()
59+ linear_drift , _ = solver .divM ()
6060print ("Thermal drift:" , linear_drift )
6161solver .clean ()
Original file line number Diff line number Diff line change @@ -23,16 +23,14 @@ std::string getPrecision();
2323
2424struct PyParameters {
2525 // The number of cells in each direction
26- // If -1, they will be autocomputed from the tolerance if possible (DP cannot
27- // do it, FCM can)
2826 int nx = -1 ;
2927 int ny = -1 ;
3028 int nz = -1 ;
3129 real viscosity;
3230 real Lx;
3331 real Ly;
3432 real zmin, zmax;
35- // Tolerance will be ignored in DP mode, TP will use only tolerance and nxy/nz
33+ // Tolerance will be ignored in DP mode
3634 real tolerance = 1e-5 ;
3735 real delta = 1e-3 ; // RFD step size
3836 real w, w_d;
You can’t perform that action at this time.
0 commit comments