Added class for TwoPhase TCAT averages and unit test tests/TestTwoPhase.cpp
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
#include <stdexcept>
|
||||
#include <fstream>
|
||||
|
||||
#include "pmmc.h"
|
||||
#include "Domain.h"
|
||||
#include "TwoPhase.h"
|
||||
#include "Extras.h"
|
||||
#include "D3Q19.h"
|
||||
#include "D3Q7.h"
|
||||
@@ -21,6 +20,20 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int rank,npx,npy,npz;
|
||||
int Nx,Ny,Nz;
|
||||
double Lx,Ly,Lz;
|
||||
Nx=Ny=Nz=40;
|
||||
rank=0;
|
||||
npx=npy=npz=1;
|
||||
Lx=Ly=Lz=1.0;
|
||||
|
||||
Domain Dm(Nx,Ny,Nz,rank,npx,npy,npz,Lx,Ly,Lz);
|
||||
|
||||
TwoPhase Averages(Dm);
|
||||
Averages.SetupCubes(Dm);
|
||||
Averages.Initialize();
|
||||
Averages.Compute();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user