Skip to content

Commit 6577f5a

Browse files
committed
add multiplicity arg. TODO implement it
1 parent a7df79d commit 6577f5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

caid/cad_geometry.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ def miller_equilibrium(rmin=0.5, rmax=1.0, n=None, p=None, params_shape=None,
914914

915915

916916
def trilinear(points=None, n=None, p=None):
917+
# TODO add multiplicity
917918
from igakit.cad import trilinear as nrb_trilinear
918919
"""Creates a Trilinear cad_geometry object. TODO: needs to be updated
919920
@@ -993,7 +994,10 @@ def cube(n=None, p=None, m=None):
993994
points[1,1,0,:] = np.asarray([1.,1.,0.])
994995
points[1,1,1,:] = np.asarray([1.,1.,1.])
995996

996-
return trilinear(points=points, n=n, p=p, m=m)
997+
if m is not None:
998+
print ("TODO add multiplicity in cube and trilinear")
999+
1000+
return trilinear(points=points, n=n, p=p)
9971001

9981002
def merge(list_geo, npts=5):
9991003
"""

0 commit comments

Comments
 (0)