mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
rigidBodyDynamics/bodies: Complete set of clone functions to support copy construction and assignment
This commit is contained in:
@ -81,7 +81,8 @@ int main(int argc, char *argv[])
|
||||
*/
|
||||
|
||||
// Create the pendulum model from dictionary
|
||||
rigidBodyModel pendulum(dictionary(IFstream("pendulum")()));
|
||||
rigidBodyModel pendulum1(dictionary(IFstream("pendulum")()));
|
||||
rigidBodyModel pendulum = pendulum1;
|
||||
|
||||
pendulum.write(Info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user