Lines Matching refs:self

21     def __del__(self):  argument
23 err_code = lib.CeedQFunctionDestroy(self._pointer)
24 self._ceed._check_error(err_code)
27 def __repr__(self): argument
28 return "<CeedQFunction instance at " + hex(id(self)) + ">"
31 def __str__(self): argument
39 err_code = lib.CeedQFunctionView(self._pointer[0], stream)
40 self._ceed._check_error(err_code)
48 def apply(self, q, inputs, outputs): argument
65 err_code = lib.CeedQFunctionApply(self._pointer[0], q, invecs, outvecs)
66 self._ceed._check_error(err_code)
79 def __init__(self, ceed, vlength, f, source): argument
81 self._pointer = ffi.new("CeedQFunction *")
84 self._ceed = ceed
93 err_code = lib.CeedQFunctionCreateInterior(self._ceed._pointer[0], vlength,
94 fpointer, sourceAscii, self._pointer)
95 self._ceed._check_error(err_code)
98 def set_context(self, ctx): argument
106 self._pointer[0],
108 self._ceed._check_error(err_code)
111 def add_input(self, fieldname, size, emode): argument
125 self._pointer[0], fieldnameAscii, size, emode)
126 self._ceed._check_error(err_code)
128 def add_output(self, fieldname, size, emode): argument
142 self._pointer[0], fieldnameAscii, size, emode)
143 self._ceed._check_error(err_code)
153 def __init__(self, ceed, name): argument
155 self._pointer = ffi.new("CeedQFunction *")
158 self._ceed = ceed
162 err_code = lib.CeedQFunctionCreateInteriorByName(self._ceed._pointer[0],
163 nameAscii, self._pointer)
164 self._ceed._check_error(err_code)
173 def __init__(self, ceed, size, inmode, outmode): argument
175 self._pointer = ffi.new("CeedQFunction *")
178 self._ceed = ceed
181 err_code = lib.CeedQFunctionCreateIdentity(self._ceed._pointer[0], size,
182 inmode, outmode, self._pointer)