|
TenComEliminatorsolve Method
|
remove beam elements (set inactive) which are under tension or compression iteratively
Namespace:
Karamba.Algorithms
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void solve(
Model in_model,
int max_iter,
List<string> elem_ids,
int lc_num,
bool compr_survives,
out double max_disp,
out List<bool> is_active,
out Model model
)
Public Shared Sub solve (
in_model As Model,
max_iter As Integer,
elem_ids As List(Of String),
lc_num As Integer,
compr_survives As Boolean,
<OutAttribute> ByRef max_disp As Double,
<OutAttribute> ByRef is_active As List(Of Boolean),
<OutAttribute> ByRef model As Model
)
public:
static void solve(
Model^ in_model,
int max_iter,
List<String^>^ elem_ids,
int lc_num,
bool compr_survives,
[OutAttribute] double% max_disp,
[OutAttribute] List<bool>^% is_active,
[OutAttribute] Model^% model
)
static member solve :
in_model : Model *
max_iter : int *
elem_ids : List<string> *
lc_num : int *
compr_survives : bool *
max_disp : float byref *
is_active : List<bool> byref *
model : Model byref -> unit
Parameters
- in_model
- Type: Karamba.ModelsModel
model where elements shall be removed - max_iter
- Type: SystemInt32
number of iterations for removing elements - elem_ids
- Type: System.Collections.GenericListString
list of identifiers of elements which take part in the procedure. If empty all elements are included. - lc_num
- Type: SystemInt32
zero based index of load-case to be used for calculating the axial force in the elements - compr_survives
- Type: SystemBoolean
if true compresssive elements survive, otherwise the tensioned ones - max_disp
- Type: SystemDouble
resulting maximum displacement of the structure under the load-case given above - is_active
- Type: System.Collections.GenericListBoolean
list of boolean values for each beam. 'true' element is active, 'false' element is inactive - model
- Type: Karamba.ModelsModel
model with elements removed (set inactive)
See Also