Comments (3)
The most proper solution for this I can think of is to simply use public setters for parameters that will need run-time adjustment. Public methods also allow more proper testing. We really should try to stay away from testing via protected member vars - test code should not lock us down into specific implementations. I actually did a little bit of param exposing in RecipeReactor in 76c3246
from cyclus.
I feel like this issue is a little vague, and that, insofar as I understand the issue, your comment and the example of using setters and getters should be a sufficient solution for now. Real solutions and examples will likely arise from these notions when an immediate need for this functionality is apparent. I propose we call this issue closed unless there are complicating details that I haven't understood.
from cyclus.
I agree. Not only do I think getters/setters are a solution, I think they are 'the' solution. No need to complicate the core.
from cyclus.
Related Issues (20)
- Brew install instruction
- Introduce canonical definition of large & small constants
- https://fuelcycle.org/user/writing_input.rst does not work
- Linking error when using conda HOT 2
- MacOS: Homebrew + libxml2
- cyclus-build-deps in need of update HOT 5
- For windows users (additional info I found super helpful) HOT 2
- http://fuelcycle.org/arche/tutorial/index.html does not open HOT 3
- Switch to GithubAction for CI
- RHEL unable to install due to libxml++-2.6 HOT 3
- I failed to install cyclus successfully.Please help me. HOT 4
- How do I set the type of reactor? HOT 1
- Is there a more detailed tutorial? HOT 1
- Install Failure with Ubunutu VM on WIndows HOT 1
- Unable to complete installation Ubunutu VM on windows. HOT 1
- Resolve BOOST deprecated messages
- Update CMake version compatibility HOT 1
- Include git as a dependency when installing from tarball
- Update dependencies to allow coupling with Dakota HOT 4
- Cyclus install fail on Ubunutu VM in windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyclus.