Skip to content

$EPSILON in the bc-file can replace the automatically calculated search length - #107

Merged
norihiro-w merged 8 commits into
ufz:masterfrom
Thomas-TK:debug_master
Aug 21, 2018
Merged

norihiro-w merged 8 commits into
ufz:masterfrom
Thomas-TK:debug_master

Conversation

@Thomas-TK

Copy link
Copy Markdown
Member

Making use of $EPSILON in the bc-file for boundary conditions. Should be initialized with -1, which means it is not active and can be activated via the keyword in the bc file.

@Thomas-TK

Copy link
Copy Markdown
Member Author

I will debug based on 2units2faults_FCT, hm1_1Dbeam, tm1_3Dorigin.numdiff.

@Thomas-TK

Copy link
Copy Markdown
Member Author

@wenqing : I think this can be merged now. We will need the same for source terms - Will be the next Pull Request

…then this should be done during the construct grid procedure an not in inside the search function.
Comment thread FEM/rf_bc_new.cpp
//#endif
std::vector<size_t> msh_nod_vec;
double computed_search_length = m_msh->getSearchLength();
if (bc->epsilon != -1)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to use epsilon from gli. We can take a look together once you are back.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@norihiro-w : @Thomas-TK explained me the reason why to use this BC tolerance: to allow different processes have different regions of nodes for BCs. I think it looks good. Do you have any comment?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no i have no further comments. i will merge this

@norihiro-w
norihiro-w merged commit b29d826 into ufz:master Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants