-
Notifications
You must be signed in to change notification settings - Fork 62
Enable coupled dof equation condition in 3d #1751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,8 +110,9 @@ void Constraints::set_valid_conditions(std::vector<Core::Conditions::ConditionDe | |
| Core::Conditions::PointLinearCoupledEquation, false, Core::Conditions::geometry_type_point); | ||
|
|
||
| linear_ce.add_component(parameter<int>("EQUATION", {.description = "EQUATION"})); | ||
| linear_ce.add_component(deprecated_selection<std::string>("ADD", {"dispx", "dispy", "undefined"}, | ||
| {.description = "degrees of freedom", .default_value = "undefined"})); | ||
| linear_ce.add_component( | ||
| deprecated_selection<std::string>("ADD", {"dispx", "dispy", "dispz", "undefined"}, | ||
|
Comment on lines
110
to
+114
|
||
| {.description = "degrees of freedom", .default_value = "undefined"})); | ||
|
Comment on lines
+113
to
+115
|
||
| linear_ce.add_component(parameter<double>("COEFFICIENT")); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The coefficient does not have a description at all. Since there is also EQUATION available, I don't know what an additional coefficient could do (maybe I fully misunderstand the parameters). If it is a factor added to the function/equation, I recommend to make it optional with 1 as a default value. |
||
|
|
||
| condlist.push_back(linear_ce); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -632,6 +632,10 @@ int Constraints::SubmodelEvaluator::RveMultiPointConstraintManager::build_linear | |
| { | ||
| dofPos = 1; | ||
| } | ||
| else if (dofStr == "dispz") | ||
| { | ||
| dofPos = 2; | ||
| } | ||
|
Comment on lines
+635
to
+638
|
||
| else | ||
| { | ||
| FOUR_C_THROW( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please also change the description of EQUATION to something more useful? What kind of equation is possible, with which dependencies? See also comment to
COEFFICIENT.If it refers to a function, then shouldn't we redefine the parameter to
FUNCT, which is the name that we use in general? Even though it is a breaking change then.