Skip to content

Commit

Permalink
add multiplicity arg. TODO implement it
Browse files Browse the repository at this point in the history
  • Loading branch information
ratnani committed Mar 16, 2017
1 parent a7df79d commit 6577f5a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion caid/cad_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ def miller_equilibrium(rmin=0.5, rmax=1.0, n=None, p=None, params_shape=None,


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

return trilinear(points=points, n=n, p=p, m=m)
if m is not None:
print ("TODO add multiplicity in cube and trilinear")

return trilinear(points=points, n=n, p=p)

def merge(list_geo, npts=5):
"""
Expand Down

0 comments on commit 6577f5a

Please sign in to comment.