Skip to content

Commit

Permalink
Changes in approxcreator to allow TPZShapeHDivOptimized to be used wi…
Browse files Browse the repository at this point in the history
…th duplicate connects
  • Loading branch information
giavancini committed Jun 4, 2024
1 parent 4afa492 commit 7a06ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Pre/TPZHDivApproxCreator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ void TPZHDivApproxCreator::CheckSetupConsistency() {
DebugStop();
}

if(fHybridType == HybridizationType::ESemi && fHDivFam != HDivFamily::EHDivConstant){
std::cout << "The only HDiv space with available Semi hybridization is HDivConstant" << std::endl;
if(fHybridType == HybridizationType::ESemi && (fHDivFam != HDivFamily::EHDivConstant && fHDivFam != HDivFamily::EHDivOptimized)){
std::cout << "The only HDiv spaces with available Semi hybridization is HDivConstant and HDivOptimized" << std::endl;
DebugStop();
}

Expand Down
2 changes: 1 addition & 1 deletion Pre/pzcreateapproxspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ void TPZCreateApproximationSpace::SetAllCreateFunctionsHDivDuplConnects(int dime
fStyle = EHDiv;
const HDivFamily &hdivfam = this->fhdivfam;

if (hdivfam != HDivFamily::EHDivConstant){
if (hdivfam != HDivFamily::EHDivConstant || hdivfam != HDivFamily::EHDivOptimized){
std::cout << "HDiv Dupl Connects not implemented yet for this HDiv family!" << std::endl;
DebugStop();
}
Expand Down

0 comments on commit 7a06ca3

Please sign in to comment.