This commit is contained in:
@@ -41,6 +41,9 @@ int main(void)
|
||||
int contact_search_bvh_nodes = -1;
|
||||
int contact_cache_used = -1;
|
||||
int contact_cache_overflow = -1;
|
||||
int conv_increment = -1;
|
||||
int conv_iteration = -1;
|
||||
int conv_converged = -1;
|
||||
int node_ids[1] = {2};
|
||||
int facet_id[8];
|
||||
int elem_id[8];
|
||||
@@ -73,6 +76,8 @@ int main(void)
|
||||
double contact_search_time = -1.0;
|
||||
double contact_force_time = -1.0;
|
||||
double contact_tangent_time = -1.0;
|
||||
double conv_residual_norm = -1.0;
|
||||
double conv_correction_norm = -1.0;
|
||||
|
||||
ierr = femlite_initialize();
|
||||
if (ierr != 0) return check_ierr(ierr, 1);
|
||||
@@ -90,6 +95,15 @@ int main(void)
|
||||
if (ierr != 0) return check_ierr(ierr, 6);
|
||||
if (nnode != 4 || nelem != 1 || ndof != 12) return 7;
|
||||
|
||||
ierr = femlite_get_convergence_status(&conv_increment, &conv_iteration,
|
||||
&conv_residual_norm,
|
||||
&conv_correction_norm,
|
||||
&conv_converged);
|
||||
if (ierr != 0) return check_ierr(ierr, 38);
|
||||
if (conv_increment != 0 || conv_iteration != 0 ||
|
||||
conv_residual_norm != 0.0 || conv_correction_norm != 0.0 ||
|
||||
conv_converged != 0) return 39;
|
||||
|
||||
ierr = femlite_get_contact_summary(&active_contact, &contact_work_step,
|
||||
&contact_work_total,
|
||||
&contact_max_penetration,
|
||||
|
||||
Reference in New Issue
Block a user