Comments (2)
Also, I had to modify the _source cutoff when calculating the residual. When I switched to the 361 group problems I've been working on, many of the sources fell below this even though they contributed to the problem. Therefore, I divided the initial cutoff by the number of groups so this changes with the number of groups accordingly. Seems to have fixed the issue for me.
from openmoc.
I incorporated some of these changes into the latest commit for CPUSolver and VectorizedSolver, which are the parents of ThreadPrivateSolver and VectorizedPrivateSolver. The GPUSolver class implements a slightly different version of computeFSRSources which leverages the thrust library reduction routine at the expense of a larger memory footprint.
I reduced the size of "_scatter_sources" to "_num_threads * _num_groups" from "_num_FSRs * _num_groups". In addition, I reduced the size of "_source_residuals" to "_num_FSRs" from "_num_FSRs * _num_groups".
As for the the index arithmetic operations, I'm counting on the compiler to recognize this and optimize it for me so I don't have to clutter the code with pre-computing indices.
commit (master): 95a6efe
from openmoc.
Related Issues (20)
- Annoying matplotlib deprecation warnings HOT 3
- Continuous integration testing of GPUSolver HOT 8
- Variable Length Arrays and MSVC support
- Weird intersection when the track is tangent to the ZCylinder HOT 2
- Rework solver rates / flux / sources maps outputs
- Avoid overwrite of matplotlib.rcParamsDefault HOT 1
- Headers content and include directory
- Matplotlib deprecation warnings HOT 3
- Periodic boundary conditions with CMFD and OpenMP threads
- Angular bins not handled when loading MGXS library HOT 3
- Error in GPUSolver HOT 8
- OpenMOC can't deal with the Hexagonal Lattices from geometry made by OpenMC. HOT 4
- A question about openmc and openmoc when used MGXS part
- Install problem python3.10 HOT 6
- LaTeX Error in constructive_solid_geometry.rst
- Program version HOT 2
- No license file
- CI has been broken for a long time HOT 3
- AttributeError: module 'openmoc' has no attribute 'Lattice' HOT 1
- having problems while using openmoc as a link lib for gcc HOT 1
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 openmoc.