read Sw from color db

This commit is contained in:
James E McClure
2018-11-02 12:47:42 -04:00
parent b922bab34e
commit e8c1db93dc

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 (domain_db->keyExists( "Sw" )){
target_saturation = domain_db->getVector<double>( "Sw" );
if (color_db->keyExists( "Sw" )){
target_saturation = color_db->getVector<double>( "Sw" );
}
double capillary_number;