Changeset c8cb0d for src/LinkedCell/unittests
- Timestamp:
- Dec 26, 2025, 9:40:14 PM (6 weeks ago)
- Branches:
- Candidate_v1.7.1, stable
- Children:
- 033646
- Parents:
- f2d5ce
- git-author:
- Frederik Heber <frederik.heber@…> (12/10/25 16:15:28)
- git-committer:
- Frederik Heber <frederik.heber@…> (12/26/25 21:40:14)
- Location:
- src/LinkedCell/unittests/stubs
- Files:
-
- 2 edited
-
ObserverBoxStub.cpp (modified) (1 diff)
-
WorldTimeStub.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/LinkedCell/unittests/stubs/ObserverBoxStub.cpp
rf2d5ce rc8cb0d 44 44 45 45 Box::Box(RealSpaceMatrix _M) : 46 Observable("Box" ),46 Observable("Box", NotificationType_MAX), 47 47 M( new RealSpaceMatrix(_M) ), 48 48 Minv( new RealSpaceMatrix ) 49 49 { 50 // observable stuff51 Channels *OurChannel = new Channels;52 Observable::insertNotificationChannel( std::make_pair(static_cast<Observable *>(this), OurChannel) );53 // add instance for each notification type54 OurChannel->addChannel(Box::MatrixChanged);55 50 *Minv = M->invert(); 56 51 } -
src/LinkedCell/unittests/stubs/WorldTimeStub.cpp
rf2d5ce rc8cb0d 45 45 46 46 WorldTime::WorldTime() : 47 Observable("WorldTime" ),47 Observable("WorldTime", NotificationType_MAX), 48 48 StepWidth(0.) 49 { 50 // observable stuff 51 Channels *OurChannel = new Channels; 52 Observable::insertNotificationChannel( std::make_pair(static_cast<Observable *>(this), OurChannel) ); 53 // add instance for each notification type 54 for (size_t type = 0; type < NotificationType_MAX; ++type) 55 OurChannel->addChannel(type); 56 } 49 {} 57 50 58 51 WorldTime::~WorldTime()
Note:
See TracChangeset
for help on using the changeset viewer.
