| /libCEED/rust/libceed/src/ |
| H A D | elem_restriction.rs | 165 offsets: &[i32], in create() argument 169 i32::try_from(nelem).unwrap(), in create() 170 i32::try_from(elemsize).unwrap(), in create() 171 i32::try_from(ncomp).unwrap(), in create() 172 i32::try_from(compstride).unwrap(), in create() 212 offsets: &[i32], in create_oriented() argument 217 i32::try_from(nelem).unwrap(), in create_oriented() 218 i32::try_from(elemsize).unwrap(), in create_oriented() 219 i32::try_from(ncomp).unwrap(), in create_oriented() 220 i32::try_from(compstride).unwrap(), in create_oriented() [all …]
|
| H A D | basis.rs | 151 i32::try_from(dim).unwrap(), in create_tensor_H1() 152 i32::try_from(ncomp).unwrap(), in create_tensor_H1() 153 i32::try_from(P1d).unwrap(), in create_tensor_H1() 154 i32::try_from(Q1d).unwrap(), in create_tensor_H1() 193 i32::try_from(dim).unwrap(), in create_tensor_H1_Lagrange() 194 i32::try_from(ncomp).unwrap(), in create_tensor_H1_Lagrange() 195 i32::try_from(P).unwrap(), in create_tensor_H1_Lagrange() 196 i32::try_from(Q).unwrap(), in create_tensor_H1_Lagrange() 223 i32::try_from(ncomp).unwrap(), in create_H1() 224 i32::try_from(nnodes).unwrap(), in create_H1() [all …]
|
| H A D | operator.rs | 454 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error() argument 459 pub fn check(&self) -> crate::Result<i32> { in check() argument 463 pub fn name(&self, name: &str) -> crate::Result<i32> { in name() argument 468 pub fn apply(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply() argument 479 pub fn apply_add(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply_add() argument 490 pub fn linear_assemble_diagonal(&self, assembled: &mut Vector) -> crate::Result<i32> { in linear_assemble_diagonal() argument 500 pub fn linear_assemble_add_diagonal(&self, assembled: &mut Vector) -> crate::Result<i32> { in linear_assemble_add_diagonal() argument 513 ) -> crate::Result<i32> { in linear_assemble_point_block_diagonal() argument 526 ) -> crate::Result<i32> { in linear_assemble_add_point_block_diagonal() argument 689 pub fn apply(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply() argument [all …]
|
| H A D | lib.rs | 48 pub const CEED_STRIDES_BACKEND: [i32; 3] = [0; 3]; 165 pub(crate) fn check_error<F>(ceed_ptr: F, ierr: i32) -> Result<i32> in check_error() 332 fn check_error(&self, ierr: i32) -> Result<i32> { in check_error() argument 453 offsets: &[i32], in elem_restriction() argument 517 offsets: &[i32], in oriented_elem_restriction() argument 604 offsets: &[i32], in curl_oriented_elem_restriction() argument 654 strides: [i32; 3], in strided_elem_restriction() 1203 let mut indx: Vec<i32> = vec![0; 2 * nelem]; in ceed_t501() 1206 indx[2 * i + j] = (i + j) as i32; in ceed_t501() 1210 let mut indu: Vec<i32> = vec![0; p * nelem]; in ceed_t501() [all …]
|
| H A D | qfunction.rs | 450 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error() argument 455 pub fn apply(&self, Q: usize, u: &[Vector], v: &[Vector]) -> crate::Result<i32> { in apply() argument 464 let Q = i32::try_from(Q).unwrap(); in apply() 517 ) -> i32; 598 let vlength = i32::try_from(vlength).unwrap(); in create() 699 pub fn apply(&self, Q: usize, u: &[Vector], v: &[Vector]) -> crate::Result<i32> { in apply() argument 744 i32::try_from(size).unwrap(), in input() 793 i32::try_from(size).unwrap(), in output() 944 pub fn apply(&self, Q: usize, u: &[Vector], v: &[Vector]) -> crate::Result<i32> { in apply() argument
|
| H A D | vector.rs | 289 pub fn copy_from(&mut self, vec_source: &Vector) -> crate::Result<i32> { in copy_from() argument 350 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error() argument 427 pub fn set_value(&mut self, value: crate::Scalar) -> crate::Result<i32> { in set_value() argument 450 pub fn set_slice(&mut self, slice: &[crate::Scalar]) -> crate::Result<i32> { in set_slice() argument 541 pub fn sync(&self, mtype: crate::MemType) -> crate::Result<i32> { in sync() argument
|
| /libCEED/examples/rust-qfunctions/ex1-volume-rs/src/ |
| H A D | lib.rs | 29 pub dim: i32, 30 pub space_dim: i32, 44 q: i32, in build_mass_rs() argument 102 q: i32, in apply_mass_rs() argument
|
| /libCEED/examples/rust/mesh/src/ |
| H A D | lib.rs | 87 elem_nodes[loc_offset + loc_nodes] = global_nodes as i32;
|