SPHinXsys  alpha version
Public Member Functions | Public Attributes | Protected Attributes | List of all members
SPH::ObservedQuantityRecording< VariableType > Class Template Reference

write files for observed quantity More...

#include <in_output.h>

Inherits SPH::BodyStatesRecording, and SPH::observer_dynamics::ObservingAQuantity< VariableType >.

Public Member Functions

 ObservedQuantityRecording (const std::string &quantity_name, InOutput &in_output, BaseBodyRelationContact &contact_relation)
 
virtual void writeWithFileName (const std::string &sequence) override
 
- Public Member Functions inherited from SPH::BodyStatesRecording
 BodyStatesRecording (InOutput &in_output, SPHBody &body)
 
 BodyStatesRecording (InOutput &in_output, SPHBodyVector bodies)
 
void writeToFile ()
 
virtual void writeToFile (size_t iteration_step)
 
- Public Member Functions inherited from SPH::BodyStatesIO
 BodyStatesIO (InOutput &in_output, SPHBody &body)
 
 BodyStatesIO (InOutput &in_output, SPHBodyVector bodies)
 
- Public Member Functions inherited from SPH::observer_dynamics::ObservingAQuantity< VariableType >
 ObservingAQuantity (BaseBodyRelationContact &contact_relation, const std::string &variable_name)
 
- Public Member Functions inherited from SPH::observer_dynamics::BaseInterpolation< VariableType >
 BaseInterpolation (BaseBodyRelationContact &contact_relation, const std::string &variable_name)
 
- Public Member Functions inherited from SPH::InteractionDynamics
 InteractionDynamics (SPHBody &sph_body)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >
 DataDelegateContact (BaseBodyRelationContact &body_contact_relation)
 

Public Attributes

VariableType type_indicator_
 
- Public Attributes inherited from SPH::observer_dynamics::BaseInterpolation< VariableType >
StdLargeVec< VariableType > * interpolated_quantities_
 
- Public Attributes inherited from SPH::InteractionDynamics
StdVec< ParticleDynamics< void > * > pre_processes_
 
StdVec< ParticleDynamics< void > * > post_processes_
 

Protected Attributes

SPHBodyobserver_
 
PltEngine plt_engine_
 
BaseParticlesbase_particles_
 
std::string body_name_
 
const std::string quantity_name_
 
std::string filefullpath_output_
 
- Protected Attributes inherited from SPH::BodyStatesIO
InOutputin_output_
 
SPHBodybody_
 
SPHBodyVector bodies_
 
- Protected Attributes inherited from SPH::observer_dynamics::ObservingAQuantity< VariableType >
StdLargeVec< VariableTypeobserved_quantities_
 
- Protected Attributes inherited from SPH::observer_dynamics::BaseInterpolation< VariableType >
StdVec< StdLargeVec< Real > * > contact_Vol_
 
StdVec< StdLargeVec< VariableType > * > contact_data_
 
- Protected Attributes inherited from SPH::InteractionDynamics
ParticleFunctor functor_interaction_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- Protected Attributes inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >
StdVec< ContactBodyType * > contact_bodies_
 
StdVec< ContactParticlesType * > contact_particles_
 
StdVec< ContactMaterialType * > contact_material_
 
StdVec< ParticleConfiguration * > contact_configuration_
 

Additional Inherited Members

- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 
- Protected Member Functions inherited from SPH::BodyStatesIO
std::string convertPhysicalTimeToString (Real physical_time)
 
- Protected Member Functions inherited from SPH::observer_dynamics::ObservingAQuantity< VariableType >
StdLargeVec< VariableType > * registerObservedQuantity (const std::string &variable_name)
 
- Protected Member Functions inherited from SPH::observer_dynamics::BaseInterpolation< VariableType >
virtual void Interaction (size_t index_i, Real dt=0.0) override
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Detailed Description

template<typename VariableType>
class SPH::ObservedQuantityRecording< VariableType >

write files for observed quantity

Constructor & Destructor Documentation

◆ ObservedQuantityRecording()

template<typename VariableType>
SPH::ObservedQuantityRecording< VariableType >::ObservedQuantityRecording ( const std::string &  quantity_name,
InOutput in_output,
BaseBodyRelationContact contact_relation 
)
inline

Output for .dat file.


The documentation for this class was generated from the following file: