Skip to content

Commit

Permalink
[FEM] [skip CI] set unit for potential loads
Browse files Browse the repository at this point in the history
  • Loading branch information
donovaly committed Aug 7, 2022
1 parent 3783e62 commit 678fc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/Gui/TaskPostBoxes.cpp
Expand Up @@ -1142,9 +1142,9 @@ void TaskPostDataAtPoint::on_Field_activated(int i) {
else if (FieldName == "electric flux") {
static_cast<Fem::FemPostDataAtPointFilter *>(getObject())->Unit.setValue("A*s/m^2");
}
// ToDo: set a proper unit once it is known
// potential loads are in Coulomb: https://www.elmerfem.org/forum/viewtopic.php?t=7780
else if (FieldName == "potential loads") {
static_cast<Fem::FemPostDataAtPointFilter*>(getObject())->Unit.setValue("");
static_cast<Fem::FemPostDataAtPointFilter*>(getObject())->Unit.setValue("C");
}
else {
static_cast<Fem::FemPostDataAtPointFilter*>(getObject())->Unit.setValue("");
Expand Down

0 comments on commit 678fc54

Please sign in to comment.