color model tweaks
This commit is contained in:
parent
44c45d277f
commit
9b0b5d2262
@ -2158,7 +2158,7 @@ void FlowAdaptor::Flatten(ScaLBL_ColorModel &M){
|
|||||||
|
|
||||||
double FlowAdaptor::MoveInterface(ScaLBL_ColorModel &M){
|
double FlowAdaptor::MoveInterface(ScaLBL_ColorModel &M){
|
||||||
|
|
||||||
double INTERFACE_CUTOFF = M.color_db->getWithDefault<double>( "move_interface_cutoff", 0.975 );
|
double INTERFACE_CUTOFF = M.color_db->getWithDefault<double>( "move_interface_cutoff", 0.1 );
|
||||||
double MOVE_INTERFACE_FACTOR = M.color_db->getWithDefault<double>( "move_interface_factor", 10.0 );
|
double MOVE_INTERFACE_FACTOR = M.color_db->getWithDefault<double>( "move_interface_factor", 10.0 );
|
||||||
|
|
||||||
ScaLBL_CopyToHost( phi.data(), M.Phi, Nx*Ny*Nz* sizeof( double ) );
|
ScaLBL_CopyToHost( phi.data(), M.Phi, Nx*Ny*Nz* sizeof( double ) );
|
||||||
|
@ -100,7 +100,7 @@ int main( int argc, char **argv )
|
|||||||
Adapt.MoveInterface(ColorModel);
|
Adapt.MoveInterface(ColorModel);
|
||||||
skip_time += ANALYSIS_INTERVAL;
|
skip_time += ANALYSIS_INTERVAL;
|
||||||
}
|
}
|
||||||
Adapt.Flatten(ColorModel);
|
//Adapt.Flatten(ColorModel);
|
||||||
|
|
||||||
}
|
}
|
||||||
ColorModel.WriteDebug();
|
ColorModel.WriteDebug();
|
||||||
|
Loading…
Reference in New Issue
Block a user