Home
last modified time | relevance | path

Searched defs:self (Results 1 – 19 of 19) sorted by relevance

/libCEED/python/
H A Dceed_vector.py21 def __init__(self, ceed, size): argument
34 def __del__(self): argument
40 def __repr__(self): argument
44 def __str__(self): argument
62 def copy_from(self, vec_source): argument
73 def set_array(self, array, memtype=MEM_HOST, cmode=COPY_VALUES): argument
105 def get_array(self, memtype=MEM_HOST): argument
150 def get_array_read(self, memtype=MEM_HOST): argument
197 def get_array_write(self, memtype=MEM_HOST): argument
243 def restore_array(self): argument
[all …]
H A Dceed_operator.py20 def __del__(self): argument
26 def __repr__(self): argument
30 def __str__(self): argument
47 def check(self): argument
54 def linear_assemble_diagonal(self, d, request=REQUEST_IMMEDIATE): argument
67 def linear_assemble_add_diagonal(self, d, request=REQUEST_IMMEDIATE): argument
81 self, d, request=REQUEST_IMMEDIATE): argument
97 self, d, request=REQUEST_IMMEDIATE): argument
112 def name(self, name): argument
123 def apply(self, u, v, request=REQUEST_IMMEDIATE): argument
[all …]
H A Dceed_qfunctioncontext.py21 def __init__(self, ceed): argument
34 def __del__(self): argument
40 def __repr__(self): argument
44 def __str__(self): argument
63 def set_data(self, data, memtype=MEM_HOST, cmode=COPY_VALUES): argument
99 def get_data(self, memtype=MEM_HOST): argument
148 def restore_data(self): argument
160 def data(self, *shape, memtype=MEM_HOST): argument
H A Dceed_basis.py21 def __repr__(self): argument
25 def __str__(self): argument
42 def apply(self, nelem, emode, u, v, tmode=NOTRANSPOSE): argument
63 def T(self): argument
70 def transpose(self): argument
76 def get_num_nodes(self): argument
92 def get_num_quadrature_points(self): argument
109 def __del__(self): argument
122 def __init__(self, ceed, dim, ncomp, P1d, Q1d, interp1d, grad1d, argument
158 def get_interp_1d(self): argument
[all …]
H A Dceed.py31 def __init__(self, resource="/cpu/self", on_error="store"): argument
50 def __repr__(self): argument
54 def __str__(self): argument
71 def _check_error(self, err_code): argument
79 def get_resource(self): argument
93 def get_preferred_memtype(self): argument
107 def scalar_type(self): argument
118 def gauss_quadrature(self, q): argument
150 def lobatto_quadrature(self, q): argument
184 def Vector(self, size): argument
[all …]
H A Dceed_qfunction.py21 def __del__(self): argument
27 def __repr__(self): argument
31 def __str__(self): argument
48 def apply(self, q, inputs, outputs): argument
79 def __init__(self, ceed, vlength, f, source): argument
98 def set_context(self, ctx): argument
111 def add_input(self, fieldname, size, emode): argument
128 def add_output(self, fieldname, size, emode): argument
153 def __init__(self, ceed, name): argument
173 def __init__(self, ceed, size, inmode, outmode): argument
H A Dceed_elemrestriction.py22 def __del__(self): argument
28 def __repr__(self): argument
32 def __str__(self): argument
49 def apply(self, u, v, tmode=NOTRANSPOSE, request=REQUEST_IMMEDIATE): argument
65 def T(self): argument
72 def transpose(self): argument
78 def create_vector(self, createLvec=True, createEvec=True): argument
107 def get_multiplicity(self): argument
126 def get_l_layout(self): argument
148 def get_e_layout(self): argument
[all …]
H A Dceed_constants.py100 def __init__(self, constant): argument
/libCEED/tests/
H A Djunit.py40 def __init__(self): argument
43 def get_source_path(self, test: str) -> Path: argument
78 def get_run_path(self, test: str) -> Path: argument
89 def get_output_path(self, test: str, output_file: str) -> Path: argument
101 def check_pre_skip(self, test: str, spec: TestSpec, resource: str, nproc: int) -> Optional[str]: argument
121 … def check_post_skip(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Optional[str]: argument
147 …def check_required_failure(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Tuple[s… argument
186 def check_allowed_stdout(self, test: str) -> bool: argument
H A Djunit_common.py26 def __init__(self, message): argument
33 def __init__(self, option_strings, dest, type, default, **kwargs): argument
49 def __call__(self, parser, namespace, values, option_string=None): argument
78 def __str__(self): argument
81 def __repr__(self): argument
88 def get_source_path(self, test: str) -> Path: argument
100 def get_run_path(self, test: str) -> Path: argument
112 def get_output_path(self, test: str, output_file: str) -> Path: argument
125 def test_failure_artifacts_path(self) -> Path: argument
130 def cgns_tol(self): argument
[all …]
/libCEED/rust/libceed/src/
H A Doperator.rs322 fn drop(&mut self) { in drop()
333 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
381 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
437 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
454 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error()
463 pub fn name(&self, name: &str) -> crate::Result<i32> { in name()
468 pub fn apply(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply()
479 pub fn apply_add(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply_add()
490 pub fn linear_assemble_diagonal(&self, assembled: &mut Vector) -> crate::Result<i32> { in linear_assemble_diagonal()
500 pub fn linear_assemble_add_diagonal(&self, assembled: &mut Vector) -> crate::Result<i32> { in linear_assemble_add_diagonal()
[all …]
H A Dvector.rs136 fn drop(&mut self) { in drop()
193 fn drop(&mut self) { in drop()
225 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
289 pub fn copy_from(&mut self, vec_source: &Vector) -> crate::Result<i32> { in copy_from()
350 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error()
427 pub fn set_value(&mut self, value: crate::Scalar) -> crate::Result<i32> { in set_value()
450 pub fn set_slice(&mut self, slice: &[crate::Scalar]) -> crate::Result<i32> { in set_slice()
512 &mut self, in wrap_slice_mut()
541 pub fn sync(&self, mtype: crate::MemType) -> crate::Result<i32> { in sync()
613 pub fn norm(&self, ntype: crate::NormType) -> crate::Result<crate::Scalar> { in norm()
[all …]
H A Dlib.rs143 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
211 fn drop(&mut self) { in drop()
248 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
332 fn check_error(&self, ierr: i32) -> Result<i32> { in check_error()
382 pub fn vector<'a>(&self, n: usize) -> Result<Vector<'a>> { in vector()
401 pub fn vector_from_slice<'a>(&self, slice: &[crate::Scalar]) -> Result<Vector<'a>> { in vector_from_slice()
446 &self, in elem_restriction()
510 &self, in oriented_elem_restriction()
597 &self, in curl_oriented_elem_restriction()
649 &self, in strided_elem_restriction()
[all …]
H A Dqfunction.rs356 fn drop(&mut self) { in drop()
366 fn drop(&mut self) { in drop()
377 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
416 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
433 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
450 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error()
455 pub fn apply(&self, Q: usize, u: &[Vector], v: &[Vector]) -> crate::Result<i32> { in apply()
699 pub fn apply(&self, Q: usize, u: &[Vector], v: &[Vector]) -> crate::Result<i32> { in apply()
734 mut self, in input()
783 mut self, in output()
[all …]
H A Delem_restriction.rs108 fn drop(&mut self) { in drop()
138 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
327 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error()
459 pub fn apply(&self, tmode: TransposeMode, u: &Vector, ru: &mut Vector) -> crate::Result<i32> { in apply()
629 pub fn multiplicity(&self, mult: &mut Vector) -> crate::Result<i32> { in multiplicity()
H A Dbasis.rs95 fn drop(&mut self) { in drop()
119 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
333 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error()
403 &self, in apply()
532 pub fn create_projection(&self, to: &Self) -> crate::Result<Self> { in create_projection()
/libCEED/tests/junit-xml/junit_xml/
H A D__init__.py84 self, argument
117 def build_xml_doc(self, encoding=None): argument
368 self, argument
404 def add_error_info(self, message=None, output=None, error_type=None): argument
423 def add_failure_info(self, message=None, output=None, failure_type=None): argument
442 def add_skipped_info(self, message=None, output=None): argument
458 def is_failure(self): argument
462 def is_error(self): argument
466 def is_skipped(self): argument
/libCEED/
H A Dsetup.py39 def run(self): argument
44 def make_libceed_so(self, prefix): argument
/libCEED/examples/rust-qfunctions/ex1-volume-rs/src/
H A Dlib.rs14 unsafe fn alloc(&self, _layout: Layout) -> *mut u8 { in alloc()
17 unsafe fn dealloc(&self, _ptr: *mut u8, _layout: Layout) { in dealloc()