@@ -415,12 +415,12 @@ function node_to_dof_partition(node_partition,D)
415415 dof_partition
416416end
417417
418- function node_coorinates_unit_cube (
418+ function node_coordinates_unit_cube (
419419 nodes_per_dir, # free (== interior) nodes
420420 parts_per_dir,
421421 parts,
422422 ;
423- split_format = Val (true ),
423+ split_format = Val (false ),
424424 value_type:: Type{Tv} = Float64,) where Tv
425425
426426 function setup! (own_x,mynodes)
@@ -443,7 +443,12 @@ function node_coorinates_unit_cube(
443443 x
444444end
445445
446- function near_nullspace_linear_elasticity (x,
446+ function near_nullspace_linear_elasticity (a... ;b... )
447+ @warn " near_nullspace_linear_elasticity is deprecated, use nullspace_linear_elasticity instead"
448+ nullspace_linear_elasticity (a... ;b... )
449+ end
450+
451+ function nullspace_linear_elasticity (x,
447452 row_partition = node_to_dof_partition (partition (axes (x,1 )),length (eltype (x)))
448453 )
449454 T = eltype (x)
@@ -461,10 +466,10 @@ function near_nullspace_linear_elasticity(x,
461466 dof_partition = row_partition
462467 split_format = Val (eltype (partition (x)) <: SplitVector )
463468 B = [ pzeros (Tv,dof_partition;split_format) for _ in 1 : nb ]
464- near_nullspace_linear_elasticity ! (B,x)
469+ nullspace_linear_elasticity ! (B,x)
465470end
466471
467- function near_nullspace_linear_elasticity ! (B,x)
472+ function nullspace_linear_elasticity ! (B,x)
468473 D = length (eltype (x))
469474 if D == 1
470475 foreach (own_values (B[1 ])) do own_b
0 commit comments