Improve naming in realization output structures
All checks were successful
/ test (pull_request) Successful in 3m32s
All checks were successful
/ test (pull_request) Successful in 3m32s
This commit is contained in:
parent
477d6a5064
commit
f1865f85a1
7 changed files with 53 additions and 47 deletions
|
@ -3,14 +3,14 @@ mod print;
|
|||
|
||||
use nalgebra::{DMatrix, DVector};
|
||||
|
||||
use dyna3::engine::{Realization, examples::realize_kaleidocycle};
|
||||
use dyna3::engine::{ConfigNeighborhood, examples::realize_kaleidocycle};
|
||||
|
||||
fn main() {
|
||||
const SCALED_TOL: f64 = 1.0e-12;
|
||||
let realization_result = realize_kaleidocycle(SCALED_TOL);
|
||||
let realization = realize_kaleidocycle(SCALED_TOL);
|
||||
print::title("Kaleidocycle");
|
||||
print::realization_diagnostics(&realization_result);
|
||||
if let Ok(Realization { config, tangent }) = realization_result.result {
|
||||
print::realization_diagnostics(&realization);
|
||||
if let Ok(ConfigNeighborhood { config, nbhd: tangent }) = realization.result {
|
||||
// print the completed Gram matrix and the realized configuration
|
||||
print::gram_matrix(&config);
|
||||
print::config(&config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue