refactor color model to use protocols

This commit is contained in:
JamesEMcclure
2019-08-15 10:40:52 -04:00
parent 35a16056b3
commit 2c4c112725
2 changed files with 56 additions and 2 deletions

View File

@@ -887,6 +887,7 @@ void runAnalysis::run( std::shared_ptr<Database> db, TwoPhase& Averages, const d
void runAnalysis::basic( std::shared_ptr<Database> db, SubPhase &Averages, const double *Phi, double *Pressure, double *Velocity, double *fq, double *Den)
{
int N = d_N[0]*d_N[1]*d_N[2];
int timestep = db->getWithDefault<int>( "timestep", 0 );
// Check which analysis steps we need to perform
auto type = computeAnalysisType( timestep );