ESyS-Particle  2.3.4
frame_vtk.h File Reference
#include <string>
Include dependency graph for frame_vtk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void do_single_frame_vtk (const string &, const string &, int, bool, const string &, bool, double)
 
void do_single_frame_vtk_r (const string &, const string &, int, bool, const string &, bool, double, bool, const string &, bool, bool)
 
void do_single_frame_sliced_vtk (const string &, const string &, int, bool, const string &, double, double)
 
void do_single_frame_sliced_vtk_r (const string &, const string &, int, bool, const string &, double, double)
 
void do_single_frame_vtk_single_r (const string &, const string &, int, int, bool, bool, double)
 
void writeMeshFile (const string &, const string &, int)
 

Function Documentation

◆ do_single_frame_sliced_vtk()

void do_single_frame_sliced_vtk ( const string &  ,
const string &  ,
int  ,
bool  ,
const string &  ,
double  ,
double   
)

◆ do_single_frame_sliced_vtk_r()

void do_single_frame_sliced_vtk_r ( const string &  infilename,
const string &  outfilename,
int  iframe,
bool  with_list,
const string &  listfilename,
double  slz_min,
double  slz_max 
)

write a slice , doesn't write bonds

References r_part::angvel, r_part::force, get_filenames(), get_version(), esys::lsm::bpu::iter(), r_part::mass, r_part::pos, r_part::q1, r_part::q2, r_part::q3, r_part::q4, r_part::rad, r_part::tag, r_part::vel, and Vec3::Z().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_single_frame_vtk()

void do_single_frame_vtk ( const string &  infilename,
const string &  outfilename,
int  iframe,
bool  with_list,
const string &  listfilename,
bool  remove_xbonds,
double  bond_remove_dist 
)

Read snapshot with non-rotational particles and write it to vtk unstructured grid (.vtu) file

Parameters
infilenamethe name of the header file
outfilenamethe "base" name of the output file
iframethe frame number
with_list
listfilename

References nr_part::circ_shift, nr_part::force, get_filenames(), get_version(), nr_part::init_pos, esys::lsm::bpu::iter(), nr_part::mass, nr_part::pos, nr_part::proc_id, nr_part::rad, nr_part::tag, nr_part::vel, write_bonds(), write_vtu_footer(), write_vtu_header(), write_vtu_nr_base_data(), and write_vtu_particle_data_end().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_single_frame_vtk_r()

void do_single_frame_vtk_r ( const string &  infilename,
const string &  outfilename,
int  iframe,
bool  with_list,
const string &  listfilename,
bool  remove_xbonds,
double  bond_remove_dist,
bool  with_brklist,
const string &  brklistname,
bool  unwrap,
bool  relpath 
)

Read snapshot with rotational particles and write it to vtk unstructured grid (.vtu) file

Parameters
infilenamethe name of the header file
outfilenamethe "base" name of the output file
iframethe frame number
with_list
listfilename
remove_xbondsif "true", bonds crossing a circular boundary are not written to the file
bond_remove_distdistance threshold to detect if a bond is crossing a circular boundary
with_brklist
brklistname
unwrapif "true", the model is unwrapped, i.e. movements across a circular boundary are taken into account
relpathif "true" the filenames in the header file are taken to be relative to the path of the header

References r_part::angvel, r_part::circ_shift, r_part::force, get_filenames(), get_version(), r_part::init_pos, esys::lsm::bpu::iter(), r_part::mass, r_part::pos, r_part::proc_id, r_part::q1, r_part::q2, r_part::q3, r_part::q4, r_part::rad, r_part::tag, r_part::vel, write_bonds(), write_bonds_with_mesh(), write_vtu_footer(), write_vtu_header(), write_vtu_particle_data_end(), and write_vtu_rot_base_data().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_single_frame_vtk_single_r()

void do_single_frame_vtk_single_r ( const string &  infilename,
const string &  outfilename,
int  iframe,
int  ptag,
bool  unwrap,
bool  remove_xbonds,
double  bond_remove_dist 
)

write particles of single tag from frame

Parameters
infilenamethe input file name
outfilenamethe output file name base
iframeframe nr.
ptagparticle tag to write out
unwrapunwrap x-circular boundaries

References r_part::angvel, r_part::force, get_filenames(), get_version(), esys::lsm::bpu::iter(), r_part::mass, r_part::pos, r_part::q1, r_part::q2, r_part::q3, r_part::q4, r_part::rad, r_part::tag, r_part::vel, write_bonds(), write_vtu_footer(), write_vtu_header(), write_vtu_particle_data_end(), and write_vtu_rot_base_data().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMeshFile()

void writeMeshFile ( const string &  ,
const string &  ,
int   
)

Referenced by main().

Here is the caller graph for this function: