Skip to content

Commit

Permalink
DEP: Complete xtgeo 4 Cube deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Aug 9, 2024
1 parent d8a7330 commit 8f0c3bd
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 1,857 deletions.
33 changes: 0 additions & 33 deletions src/lib/include/xtgeo/xtgeo.h
Original file line number Diff line number Diff line change
Expand Up @@ -745,15 +745,6 @@ extern "C"
double rot_azi_deg,
int flag);

void cube_scan_segy_hdr(char *file,
int *gn_bitsheader,
int *gn_formatcode,
float *gf_segyformat,
int *gn_samplespertrace,
int *gn_measuresystem,
int option,
char *outfile);

int cube_import_storm(int nx,
int ny,
int nz,
Expand All @@ -763,30 +754,6 @@ extern "C"
long n_swig_np_flt_aout_v1, // nxyz
int option);

void cube_import_segy(char *file,
int hbitoffset,
int formatcode,
float segyformat,
int samplespertrace,
int *nx,
int *ny,
int *nz,
float *p_val_v,
double *xori,
double *xinc,
double *yori,
double *yinc,
double *zori,
double *zinc,
double *rotation,
int *yflip,
int *zflip,
double *minval,
double *maxval,
int optscan,
int option,
char *outfile);

void cube_import_rmsregular(int iline,
int *ndef,
int *ndefsum,
Expand Down
20 changes: 0 additions & 20 deletions src/lib/src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,26 +167,6 @@ extern "C"

extern void *SwapEndian(void *Addr, const int Nb);

/*
*--------------------------------------------------------------------------------------
* No-public grd3d routines for other issues
*--------------------------------------------------------------------------------------
*/

int u_read_segy_bitem(int nc,
int ic,
void *ptr,
size_t size,
size_t nmemb,
FILE *fc,
FILE *fout,
int swap,
char *txt,
int *nb,
int option);

void u_ibm_to_float(int *from, int *to, int n, int endian, int swap);

#ifdef __cplusplus
}
#endif // __cplusplus
Expand Down
Loading

0 comments on commit 8f0c3bd

Please sign in to comment.