Skip to content

Commit

Permalink
update the description of hooke_polyhedron
Browse files Browse the repository at this point in the history
  • Loading branch information
rprat-pro committed Jun 16, 2024
1 parent 00a3afa commit 43a308d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/polyhedron/hooke_polyhedron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,22 @@ namespace exaDEM
using ComputeFields = FieldSet< field::_vrot, field::_arot >;
static constexpr ComputeFields compute_field_set {};

ADD_SLOT( GridT , grid , INPUT_OUTPUT , REQUIRED );
ADD_SLOT( GridCellParticleInteraction , ges , INPUT_OUTPUT , DocString{"Interaction list"} );
ADD_SLOT( shapes , shapes_collection , INPUT_OUTPUT , DocString{"Collection of shapes"});
ADD_SLOT( HookeParams , config , INPUT , REQUIRED ); // can be re-used for to dump contact network
ADD_SLOT( HookeParams , config_driver , INPUT , OPTIONAL ); // can be re-used for to dump contact network
ADD_SLOT( mutexes , locks , INPUT_OUTPUT );
ADD_SLOT( double , dt , INPUT , REQUIRED );
ADD_SLOT( Drivers , drivers , INPUT , DocString{"List of Drivers"});
ADD_SLOT( std::vector<size_t> , idxs , INPUT_OUTPUT , DocString{"List of non empty cells"});
ADD_SLOT( GridT , grid , INPUT_OUTPUT , REQUIRED );
ADD_SLOT( GridCellParticleInteraction , ges , INPUT_OUTPUT , DocString{"Interaction list"} );
ADD_SLOT( shapes , shapes_collection , INPUT_OUTPUT , DocString{"Collection of shapes"});
ADD_SLOT( HookeParams , config , INPUT , REQUIRED , DocString{"Hooke law parameters used to model interactions sphere/driver"}); // can be re-used for to dump contact network
ADD_SLOT( HookeParams , config_driver , INPUT , OPTIONAL , DocString{"Hooke law parameters used to model interactions sphere/driver"}); // can be re-used for to dump contact network
ADD_SLOT( mutexes , locks , INPUT_OUTPUT , DocString{"Grid of mutexes, one per particles"});
ADD_SLOT( double , dt , INPUT , REQUIRED , DocString{"Timestep"});
ADD_SLOT( Drivers , drivers , INPUT , DocString{"List of Drivers"});
ADD_SLOT( std::vector<size_t> , idxs , INPUT_OUTPUT , DocString{"List of non empty cells"});

public:

inline std::string documentation() const override final
{
return R"EOF(
Apply Hooke's law between spheres and between spheres with drivers. This operator requires interactions to have been calculated using the nbh_sphere_sym or nbh_spere_no_sym operators.
)EOF";
}

Expand Down

0 comments on commit 43a308d

Please sign in to comment.