Actual source code: zellipse.c
slepc-3.21.1 2024-04-26
Report Typos and Errors

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain

      6:    This file is part of SLEPc.
      7:    SLEPc is distributed under a 2-clause BSD license (see LICENSE).
      8:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      9: */

     11: #include <petsc/private/fortranimpl.h>
     12: #include <slepcrg.h>

     14: #if defined(PETSC_HAVE_FORTRAN_CAPS)
     15: #define rgellipsegetparameters000_ RGELLIPSEGETPARAMETERS000
     16: #define rgellipsegetparameters100_ RGELLIPSEGETPARAMETERS100
     17: #define rgellipsegetparameters010_ RGELLIPSEGETPARAMETERS010
     18: #define rgellipsegetparameters110_ RGELLIPSEGETPARAMETERS110
     19: #define rgellipsegetparameters001_ RGELLIPSEGETPARAMETERS001
     20: #define rgellipsegetparameters101_ RGELLIPSEGETPARAMETERS101
     21: #define rgellipsegetparameters011_ RGELLIPSEGETPARAMETERS011
     22: #elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE)
     23: #define rgellipsegetparameters000_ rgellipsegetparameters000
     24: #define rgellipsegetparameters100_ rgellipsegetparameters100
     25: #define rgellipsegetparameters010_ rgellipsegetparameters010
     26: #define rgellipsegetparameters110_ rgellipsegetparameters110
     27: #define rgellipsegetparameters001_ rgellipsegetparameters001
     28: #define rgellipsegetparameters101_ rgellipsegetparameters101
     29: #define rgellipsegetparameters011_ rgellipsegetparameters011
     30: #endif

     32: SLEPC_EXTERN void rgellipsegetparameters_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     33: {
     34:   CHKFORTRANNULLSCALAR(center);
     35:   CHKFORTRANNULLREAL(radius);
     36:   CHKFORTRANNULLREAL(vscale);
     37:   *ierr = RGEllipseGetParameters(*rg,center,radius,vscale);
     38: }

     40: SLEPC_EXTERN void rgellipsegetparameters000_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     41: {
     42:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     43: }

     45: SLEPC_EXTERN void rgellipsegetparameters100_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     46: {
     47:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     48: }

     50: SLEPC_EXTERN void rgellipsegetparameters010_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     51: {
     52:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     53: }

     55: SLEPC_EXTERN void rgellipsegetparameters110_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     56: {
     57:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     58: }

     60: SLEPC_EXTERN void rgellipsegetparameters001_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     61: {
     62:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     63: }

     65: SLEPC_EXTERN void rgellipsegetparameters101_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     66: {
     67:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     68: }

     70: SLEPC_EXTERN void rgellipsegetparameters011_(RG *rg,PetscScalar *center,PetscReal *radius,PetscReal *vscale,PetscErrorCode *ierr)
     71: {
     72:   rgellipsegetparameters_(rg,center,radius,vscale,ierr);
     73: }