Home
last modified time | relevance | path

Searched refs:err_code (Results 1 – 9 of 9) sorted by relevance

/libCEED/python/
H A Dceed_vector.py29 err_code = lib.CeedVectorCreate(
31 self._ceed._check_error(err_code)
36 err_code = lib.CeedVectorDestroy(self._pointer)
37 self._ceed._check_error(err_code)
53 err_code = lib.CeedVectorView(self._pointer[0], fmt, stream)
54 self._ceed._check_error(err_code)
69 err_code = lib.CeedVectorCopy(vec_source._pointer[0], self._pointer[0])
70 self._ceed._check_error(err_code)
100 err_code = lib.CeedVectorSetArray(
102 self._ceed._check_error(err_code)
[all …]
H A Dceed_operator.py22 err_code = lib.CeedOperatorDestroy(self._pointer)
23 self._ceed._check_error(err_code)
38 err_code = lib.CeedOperatorView(self._pointer[0], stream)
39 self._ceed._check_error(err_code)
50 err_code = lib.CeedOperatorCheckReady(self._pointer[0])
51 self._ceed._check_error(err_code)
62 err_code = lib.CeedOperatorLinearAssembleDiagonal(self._pointer[0],
64 self._ceed._check_error(err_code)
75 err_code = lib.CeedOperatorLinearAssembleAddDiagonal(self._pointer[0],
77 self._ceed._check_error(err_code)
[all …]
H A Dceed_qfunction.py23 err_code = lib.CeedQFunctionDestroy(self._pointer)
24 self._ceed._check_error(err_code)
39 err_code = lib.CeedQFunctionView(self._pointer[0], stream)
40 self._ceed._check_error(err_code)
65 err_code = lib.CeedQFunctionApply(self._pointer[0], q, invecs, outvecs)
66 self._ceed._check_error(err_code)
93 err_code = lib.CeedQFunctionCreateInterior(self._ceed._pointer[0], vlength,
95 self._ceed._check_error(err_code)
105 err_code = lib.CeedQFunctionSetContext(
108 self._ceed._check_error(err_code)
[all …]
H A Dceed_qfunctioncontext.py29 err_code = lib.CeedQFunctionContextCreate(
31 self._ceed._check_error(err_code)
36 err_code = lib.CeedQFunctionContextDestroy(self._pointer)
37 self._ceed._check_error(err_code)
53 err_code = lib.CeedQFunctionContextView(
55 self._ceed._check_error(err_code)
90 err_code = lib.CeedQFunctionContextSetData(
96 self._ceed._check_error(err_code)
110 err_code = lib.CeedQFunctionContextGetContextSize(
112 self._ceed._check_error(err_code)
[all …]
H A Dceed_elemrestriction.py24 err_code = lib.CeedElemRestrictionDestroy(self._pointer)
25 self._ceed._check_error(err_code)
40 err_code = lib.CeedElemRestrictionView(self._pointer[0], stream)
41 self._ceed._check_error(err_code)
59 err_code = lib.CeedElemRestrictionApply(self._pointer[0], tmode, u._pointer[0],
61 self._ceed._check_error(err_code)
93 err_code = lib.CeedElemRestrictionCreateVector(self._pointer[0], lvecPointer,
95 self._ceed._check_error(err_code)
118 err_code = lib.CeedElemRestrictionGetMultiplicity(
120 self._ceed._check_error(err_code)
[all …]
H A Dceed_basis.py33 err_code = lib.CeedBasisView(self._pointer[0], stream)
34 self._ceed._check_error(err_code)
57 err_code = lib.CeedBasisApply(self._pointer[0], nelem, tmode, emode,
59 self._ceed._check_error(err_code)
86 err_code = lib.CeedBasisGetNumNodes(self._pointer[0], p_pointer)
87 self._ceed._check_error(err_code)
102 err_code = lib.CeedBasisGetNumQuadraturePoints(
104 self._ceed._check_error(err_code)
111 err_code = lib.CeedBasisDestroy(self._pointer)
112 self._ceed._check_error(err_code)
[all …]
H A Dceed.py38 err_code = lib.CeedInit(resourceAscii, self._pointer)
39 if err_code:
62 err_code = lib.CeedView(self._pointer[0], stream)
63 self._check_error(err_code)
71 def _check_error(self, err_code): argument
73 if (err_code != lib.CEED_ERROR_SUCCESS):
87 err_code = lib.CeedGetResource(self._pointer[0], resource)
88 self._check_error(err_code)
101 err_code = lib.CeedGetPreferredMemType(self._pointer[0], memtype)
102 self._check_error(err_code)
[all …]
/libCEED/interface/
H A Dceed.c1744 int CeedErrorReturn(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, c… in CeedErrorReturn() argument
1745 return err_code; in CeedErrorReturn()
1759 int CeedErrorStore(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, co… in CeedErrorStore() argument
1760 …if (ceed->parent) return CeedErrorStore(ceed->parent, filename, line_no, func, err_code, format, a… in CeedErrorStore()
1766 return err_code; in CeedErrorStore()
1780 int CeedErrorAbort(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, co… in CeedErrorAbort() argument
1785 return err_code; in CeedErrorAbort()
1800 int CeedErrorExit(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, con… in CeedErrorExit() argument
1805 exit(err_code); in CeedErrorExit()
1806 return err_code; in CeedErrorExit()
/libCEED/include/ceed/
H A Dceed.h143 …urn(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, const char *form…
144 …ore(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, const char *form…
145 …ort(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, const char *form…
146 …xit(Ceed ceed, const char *filename, int line_no, const char *func, int err_code, const char *form…