Skip to content

Commit

Permalink
Merge pull request #240 from elieberman3/ejl-fft-viz-update
Browse files Browse the repository at this point in the history
EVPFFT Visualization Update
  • Loading branch information
elieberman3 authored Nov 15, 2024
2 parents a8c4cd2 + 3fd7c3c commit 837bfa6
Show file tree
Hide file tree
Showing 9 changed files with 1,951 additions and 33 deletions.
12 changes: 11 additions & 1 deletion src/EVPFFT/src/evpfft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ void EVPFFT::set_some_voxels_arrays_to_zero()

void EVPFFT::init_after_reading_input_data()
{

#ifndef ABSOLUTE_NO_OUTPUT
if (iwfields == 1) {
int imicro = 0;
//write_micro_state_xdmf();
write_micro_state_pvtu();
}
#endif

init_xk_gb();
init_disgradmacro();
init_ept();
Expand Down Expand Up @@ -415,7 +424,8 @@ void EVPFFT::evolve()
#ifndef ABSOLUTE_NO_OUTPUT
write_macro_state();
if (iwfields == 1 and imicro % iwstep == 0) {
write_micro_state();
//write_micro_state_xdmf();
write_micro_state_pvtu();
}
if (iwtex == 1 and imicro == nsteps) {
write_texture();
Expand Down
3 changes: 2 additions & 1 deletion src/EVPFFT/src/evpfft.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ class EVPFFT
void read_vtk_lattice_structure(const std::string & filetext);
void calculate_eel(MatrixTypeRealDual &eel);
void write_macro_state();
void write_micro_state();
void write_micro_state_xdmf();
void write_micro_state_pvtu();
void write_texture();

void init_crss_voce();
Expand Down
Loading

0 comments on commit 837bfa6

Please sign in to comment.