File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 4949 . any ( |block| element_block_matches_connectivity :: < C , _ > ( block) )
5050 {
5151 return Err ( eyre ! (
52- "MSH file does not contain an element block of the requested type ({:?} of dim {})" ,
52+ "MSH file does not contain an element block of the requested type (type {:?} of with reference/entity dim {})" ,
5353 C :: msh_element_type( ) ,
5454 C :: reference_dim( )
5555 ) ) ;
@@ -204,11 +204,15 @@ macro_rules! impl_msh_connectivity {
204204
205205 fn reference_dim( ) -> usize {
206206 use crate :: element:: ElementConnectivity ;
207- <$connectivity as ElementConnectivity :: <f64 >>:: ReferenceDim :: dim( )
207+ <$connectivity as ElementConnectivity <f64 >>:: ReferenceDim :: dim( )
208208 }
209209
210210 fn try_connectivity_from_msh_element( element: & mshio:: Element <u64 >) -> eyre:: Result <Self > {
211- assert_eq!( element. nodes. len( ) , $num_nodes, "number of msh element nodes have to match with connectivity" ) ;
211+ assert_eq!(
212+ element. nodes. len( ) ,
213+ $num_nodes,
214+ "number of msh element nodes have to match with connectivity"
215+ ) ;
212216 let mut nodes = [ 0 ; $num_nodes] ;
213217 for i in 0 ..$num_nodes {
214218 nodes[ i] = element. nodes[ i] as usize - 1 ;
You can’t perform that action at this time.
0 commit comments