Home
last modified time | relevance | path

Searched full:imag (Results 1 – 22 of 22) sorted by relevance

/petsc/src/dm/tests/
H A Dex36.c9 PetscReal imag; member
16 r = PetscSqrtReal(a.real * a.real + a.imag * a.imag); in CCmplxPow()
17 theta = PetscAtan2Real(a.imag, a.real); in CCmplxPow()
19 b.imag = PetscPowReal(r, n) * PetscSinReal(n * theta); in CCmplxPow()
25 b.real = PetscExpReal(a.real) * PetscCosReal(a.imag); in CCmplxExp()
26 b.imag = PetscExpReal(a.real) * PetscSinReal(a.imag); in CCmplxExp()
33 r = PetscSqrtReal(a.real * a.real + a.imag * a.imag); in CCmplxSqrt()
34 theta = PetscAtan2Real(a.imag, a.real); in CCmplxSqrt()
36 b.imag = PetscSqrtReal(r) * PetscSinReal(0.5 * theta); in CCmplxSqrt()
43 b.imag = a.imag + c.imag; in CCmplxAdd()
[all …]
/petsc/share/petsc/datafiles/matrices/
H A Dtiny_system_with_x0_complex.mat9 ������������������real������������������������������������ ?������@�4 �4���imag�����������…
11 …����������real������������������������������������ ?������@�4 �4���imag�������������������…
/petsc/include/
H A Dpetsccxxcomplexfix.h114 return rhs.imag() == PetscReal(0) && rhs.real() == PetscReal(lhs);
120 return lhs.imag() == PetscReal(0) && lhs.real() == PetscReal(rhs);
126 return rhs.imag() != PetscReal(0) || rhs.real() != PetscReal(lhs);
132 return lhs.imag() != PetscReal(0) || lhs.real() != PetscReal(rhs);
H A Dpetscvec.h868 …complex plane such that real(min) <= real(z) <= real(max) and imag(min) <= imag(z) <= imag(max). …
H A Dpetscmath.h215 #define PetscImaginaryPartComplex(a) (static_cast<PetscComplex>(a)).imag()
/petsc/share/petsc/matlab/
H A DPetscBinaryWrite.m73 si = imag(s);
89 si = imag(A);
/petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/
H A Dpyscalar.h29 PetscReal b = (PetscReal)cval.imag; in PyPetscScalar_AsPetscScalar()
/petsc/src/sys/tests/
H A Dex47-options.yaml12 imag: 2.72i
/petsc/src/binding/petsc4py/demo/python_types/
H A Dmatpython_protocol.py171 """Set real part to zero. A = imag(A)."""
/petsc/src/mat/tests/
H A Dmmio.c225 int mm_read_mtx_crd_entry(FILE *f, int *ia, int *ja, double *real, double *imag, MM_typecode matcod… in mm_read_mtx_crd_entry() argument
228 if (fscanf(f, "%d %d %lg %lg", ia, ja, real, imag) != 4) return MM_PREMATURE_EOF; in mm_read_mtx_crd_entry()
/petsc/src/vec/vec/tests/
H A Dex28.c15 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Imag error at line %d, tol %g: %s %g %s %g diff %g\n", __…
/petsc/src/ksp/ksp/interface/
H A Deige.c304 PetscCall(PetscDrawAxisSetLabels(drawaxis, "Eigen-counters", "real", "imag")); in KSPPlotEigenContours_Private()
/petsc/src/vec/vec/utils/
H A Dcomb.c149 …} else if (max_flg) { /* Compute max of real and imag parts separately, presumably only the real p… in PetscCommSplitReductionBegin()
224 …} else if (max_flg) { /* Compute max of real and imag parts separately, presumably only the real p… in PetscSplitReductionApply()
H A Dvinv.c1411 const PetscReal imag = PetscImaginaryPart(x); in ScalarImaginaryPart_Function() local
1414 return PetscCMPLX(imag, 0.0); in ScalarImaginaryPart_Function()
1416 return imag; in ScalarImaginaryPart_Function()
/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busdmnetwork.c465 /* Converts from machine frame (dq) to network (phase a real,imag) reference frame */
474 /* Converts from network frame ([phase a real,imag) to machine (dq) reference frame */
H A Dex9busadj.c96 /* Converts from machine frame (dq) to network (phase a real,imag) reference frame */
105 /* Converts from network frame ([phase a real,imag) to machine (dq) reference frame */
H A Dex9busoptfd.c98 /* Converts from machine frame (dq) to network (phase a real,imag) reference frame */
107 /* Converts from network frame ([phase a real,imag) to machine (dq) reference frame */
H A Dex9bus.c296 /* Converts from machine frame (dq) to network (phase a real,imag) reference frame */
305 /* Converts from network frame ([phase a real,imag) to machine (dq) reference frame */
H A Dex9busopt.c110 /* Converts from machine frame (dq) to network (phase a real,imag) reference frame */
119 /* Converts from network frame ([phase a real,imag) to machine (dq) reference frame */
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DKSP.pyx2119 eigen.imag = i[:neig]
/petsc/config/BuildSystem/config/
H A Dcompilers.py437 …lexfix.h, can cause the combination "C++14 + GCC-4.x libstdc++ library" to fail, complaining imag()
/petsc/doc/
H A Dpetsc.bib7372 url = {http://www-id.imag.fr/\~{ }allardj/files/ipts2002.pdf},