Skip to content

Commit 69bcd5a

Browse files
majosminducer
authored andcommitted
optimize generate_box_mesh (#458, part 1)
* optimize generate_box_mesh * optimize boundary processing loop * fix type annotation * parameterize dtypes * simplify definition of a0/a1 for 1D * use np.column_stack() instead of np.array([...]).T * avoid potentially creating temporary arrays in vertex assignment * *_crit -> *_face
1 parent e74a826 commit 69bcd5a

File tree

1 file changed

+219
-122
lines changed

1 file changed

+219
-122
lines changed

0 commit comments

Comments
 (0)