| /petsc/src/dm/tests/ |
| H A D | ex36.c | 9 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 D | tiny_system_with_x0_complex.mat | 9 �real ?@44�imag… 11 …�real ?@44�imag…
|
| /petsc/include/ |
| H A D | petsccxxcomplexfix.h | 114 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 D | petscvec.h | 868 …complex plane such that real(min) <= real(z) <= real(max) and imag(min) <= imag(z) <= imag(max). …
|
| H A D | petscmath.h | 215 #define PetscImaginaryPartComplex(a) (static_cast<PetscComplex>(a)).imag()
|
| /petsc/share/petsc/matlab/ |
| H A D | PetscBinaryWrite.m | 73 si = imag(s); 89 si = imag(A);
|
| /petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/ |
| H A D | pyscalar.h | 29 PetscReal b = (PetscReal)cval.imag; in PyPetscScalar_AsPetscScalar()
|
| /petsc/src/sys/tests/ |
| H A D | ex47-options.yaml | 12 imag: 2.72i
|
| /petsc/src/binding/petsc4py/demo/python_types/ |
| H A D | matpython_protocol.py | 171 """Set real part to zero. A = imag(A)."""
|
| /petsc/src/mat/tests/ |
| H A D | mmio.c | 225 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 D | ex28.c | 15 …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 D | eige.c | 304 PetscCall(PetscDrawAxisSetLabels(drawaxis, "Eigen-counters", "real", "imag")); in KSPPlotEigenContours_Private()
|
| /petsc/src/vec/vec/utils/ |
| H A D | comb.c | 149 …} 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 D | vinv.c | 1411 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 D | ex9busdmnetwork.c | 465 /* 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 D | ex9busadj.c | 96 /* 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 D | ex9busoptfd.c | 98 /* 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 D | ex9bus.c | 296 /* 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 D | ex9busopt.c | 110 /* 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 D | KSP.pyx | 2119 eigen.imag = i[:neig]
|
| /petsc/config/BuildSystem/config/ |
| H A D | compilers.py | 437 …lexfix.h, can cause the combination "C++14 + GCC-4.x libstdc++ library" to fail, complaining imag()
|
| /petsc/doc/ |
| H A D | petsc.bib | 7372 url = {http://www-id.imag.fr/\~{ }allardj/files/ipts2002.pdf},
|