refactor spheres
This commit is contained in:
parent
74b6a40925
commit
a45524acb0
@ -15,9 +15,6 @@
|
||||
#include "common/MPI_Helpers.h"
|
||||
#include "common/Communication.h"
|
||||
|
||||
|
||||
|
||||
|
||||
// Inline function to read line without a return argument
|
||||
static inline void fgetl( char * str, int num, FILE * stream )
|
||||
{
|
||||
@ -25,8 +22,6 @@ static inline void fgetl( char * str, int num, FILE * stream )
|
||||
if ( 0 ) {char *temp = (char *)&ptr; temp++;}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/********************************************************
|
||||
* Constructors/Destructor *
|
||||
********************************************************/
|
||||
|
@ -14,6 +14,14 @@
|
||||
#include "common/Database.h"
|
||||
#include "common/SpherePack.h"
|
||||
|
||||
// Inline function to read line without a return argument
|
||||
static inline void fgetl( char * str, int num, FILE * stream )
|
||||
{
|
||||
char* ptr = fgets( str, num, stream );
|
||||
if ( 0 ) {char *temp = (char *)&ptr; temp++;}
|
||||
}
|
||||
|
||||
|
||||
void WriteLocalSolidID(char *FILENAME, char *ID, int N)
|
||||
{
|
||||
char value;
|
||||
|
@ -33,3 +33,5 @@ void AssignLocalSolidID(char *ID, int nspheres, double *List_cx, double *List_cy
|
||||
void SignedDistance(double *Distance, int nspheres, double *List_cx, double *List_cy, double *List_cz, double *List_rad,
|
||||
double Lx, double Ly, double Lz, int Nx, int Ny, int Nz,
|
||||
int iproc, int jproc, int kproc, int nprocx, int nprocy, int nprocz);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user