hermit.fenics.maps

Setup-time index / operator maps between user ordering and FEniCSx ordering.

Port of the _material_indices / _pressure_indices / reference_mesh_nodes / construct_*_map machinery from RMShellModel + RMShellPDE (femo dev_coupling). Pure numpy / scipy, built once.

Classes

OrderingMaps

element_wise_material / elementwise_pressure select whether the

Module Contents

class hermit.fenics.maps.OrderingMaps(mesh, pde, *, element_wise_material=False, elementwise_pressure=False)

element_wise_material / elementwise_pressure select whether the material / pressure user->FE gather runs over cells or nodes – the same two ShellPDE fixed-space switches, passed explicitly.

cell_input_idx
force_to_pressure
property geom_shape
material_idx
mesh
property nodal_disp_map
property nodal_rot_map
node_input_idx
pressure_idx
reference_mesh_nodes
reverse_cell_idx
reverse_node_idx
vf_size