From 7edbf5b2790c68a83468d580b4be0fd176321602 Mon Sep 17 00:00:00 2001 From: JamesEMcclure Date: Tue, 6 Aug 2019 16:38:41 -0400 Subject: [PATCH] direct decomp color --- models/ColorModel.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/models/ColorModel.cpp b/models/ColorModel.cpp index 7c774957..fb0d9583 100644 --- a/models/ColorModel.cpp +++ b/models/ColorModel.cpp @@ -151,8 +151,14 @@ void ScaLBL_ColorModel::SetDomain(){ } void ScaLBL_ColorModel::ReadInput(){ - size_t readID; - Mask->ReadIDs(); + + if (domain_db->keyExists( "Filename" )){ + Mask->Decomp(domain_db); + } + else{ + size_t readID; + Mask->ReadIDs(); + } for (int i=0; iid[i]; // save what was read sprintf(LocalRankString,"%05d",rank);