Skip to content

Commit df3cccc

Browse files
committed
sync small changes
1 parent 5beea78 commit df3cccc

File tree

4 files changed

+1255
-1230
lines changed

4 files changed

+1255
-1230
lines changed

include/solver.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class Solver : private MixedBCController<howmany> {
6262
double compute_error(RealArray &r);
6363
void CreateFFTWPlans(double *in, fftw_complex *transformed, double *out);
6464

65+
VectorXd homogenized_strain;
6566
VectorXd homogenized_stress;
6667
VectorXd get_homogenized_stress();
6768

@@ -583,6 +584,8 @@ void Solver<howmany, n_str>::postprocess(Reader &reader, int load_idx, int time_
583584
printf("%+.12f ", strain_average[i]);
584585
printf(") \n\n");
585586
}
587+
homogenized_stress = stress_average;
588+
homogenized_strain = strain_average;
586589

587590
/* ====================================================================== *
588591
* u_total = g0·X + ũ (vector or scalar, decided at compile time)

0 commit comments

Comments
 (0)