Skip to content

Commit

Permalink
Merge pull request ufz#87 from wenqing/fixing
Browse files Browse the repository at this point in the history
Reactivate the functionality of deactivating elements during setting of source terms
  • Loading branch information
wenqing authored Nov 1, 2017
2 parents 08b1476 + 5fe5c34 commit 02a0358
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FEM/rf_st_new.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,9 @@ void CSourceTermGroup::Set(CRFProcess* m_pcs, const int ShiftInNodeVector, std::
{
set = false;
source_term->setProcess(m_pcs); // HS: 01.09.2009

m_pcs->CheckMarkedElement();

if (source_term->getGeoType() == GEOLIB::POINT)
SetPNT(m_pcs, source_term, ShiftInNodeVector);
if (source_term->getGeoType() == GEOLIB::POLYLINE)
Expand Down Expand Up @@ -1822,6 +1825,7 @@ void CSourceTerm::FaceIntegration(CRFProcess* pcs, std::vector<long> const& node
// Notice: node-elements relation has to be constructed beforehand
// CB THMBM
// this->getProcess()->CheckMarkedElement(); // CB added to remove bug with deactivated Subdomains
// Already added to Set(..)
std::vector<long> vec_possible_elements;
for (i = 0; i < this_number_of_nodes; i++)
{
Expand Down

0 comments on commit 02a0358

Please sign in to comment.