added target_saturation key to color

This commit is contained in:
James E McClure
2018-11-02 12:59:01 -04:00
parent 2e7d086b31
commit ed7865d720

View File

@@ -406,8 +406,8 @@ void ScaLBL_ColorModel::Run(){
int target_saturation_index=0;
std::vector<double> target_saturation;
double TARGET_SATURATION = 0.f;
if (color_db->keyExists( "Sw" )){
target_saturation = color_db->getVector<double>( "Sw" );
if (color_db->keyExists( "target_saturation" )){
target_saturation = color_db->getVector<double>( "target_saturation" );
}
double capillary_number;