Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebbruno committed Aug 28, 2024
1 parent 94146ad commit 1332372
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions src/alfasim_sdk/alfasim_sdk_api/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -863,14 +863,19 @@ DLL_EXPORT int get_wall_properties(void* ctx, double** prop_values, const char*
Example of usage:
~~~~~{.cpp}
[material_name_4]
[material_name_3] [material_name_3]
[material_name_2] [material_name_2] [material_name_2]
[material_name_1] [material_name_1] [material_name_1]
[material_name_0] [material_name_0] [material_name_0]
| | |
-[control_volume_1]-[control_volume_2]-[control_volume_3]--> (Pipe)
|
|
[control_volume_1]->[material_name_0; material_name_1; material_name_2]
|
|
[control_volume_2]->[material_name_0; material_name_1]
|
|
[control_volume_3]->[material_name_0; material_name_1; material_name_2; material_name_3]
|
|
\ /(pipe)
errcode = get_wall_material_names(
ctx, &material_names_in_wall, control_volume_id, &size_wall);
Expand All @@ -892,15 +897,18 @@ DLL_EXPORT int get_wall_material_names(void* ctx, char*** material_names_in_wall
Example of usage:
(pipe)
|
|
[control_volume_1]->[is_fluid_check_0; is_fluid_check_1; is_fluid_check_2]
|
|
[control_volume_2]->[is_fluid_check_0; is_fluid_check_1]
|
|
[control_volume_3]->[is_fluid_check_0; is_fluid_check_1; is_fluid_check_2; is_fluid_check_3]
|
|
\ /(pipe)
errcode = get_wall_material_type(
ctx, &wall_material, control_volume_id, &size_wall);
Expand Down

0 comments on commit 1332372

Please sign in to comment.