Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor things #263

Merged
merged 8 commits into from
Nov 13, 2020
Merged

Minor things #263

merged 8 commits into from
Nov 13, 2020

Conversation

riclarsson
Copy link
Contributor

These are many minor changes to some code. The main thing is removing a very large function dealing with the setup of the Jacobian calculations because it wasn't really being used. The rest are just constifying some variables and using more accurate maths in some of the derivatives.

The latter is more accurate for low values, i.e., when I gets large
Actually, quite a few of the variables in the init-function were
unused in practice, so they should be removed
only place using it.  I want to eliminate iy_transmittance_mult from
rte.h and rte.cc as well but cannot at the moment since they are
used in methods of m_fos.cc and m_surface.cc (we really should be
passing TransmissionMatrix around the boundaries because that would
be a lot faster and allow to remove some of these 'help me do a simple
multiplication' functions).

I sadly had to put the two removed functions also in test_omp.cc since
we rely on old RT code to test OpenMP functionality.  The latter I do
not consider important, even though it means code duplication, because
it is not duplicated inside ARTS but just for an external test case
(though it would be nice to be able to remove some of the lin-alg that
I added for the old methods when we realized that the original lin-alg
implementation was unecessarily slow.)
@olemke
Copy link
Member

olemke commented Nov 13, 2020

I'll remove the test_omp since it's outdated and not needed anymore.

@olemke olemke merged commit 51f9009 into atmtools:master Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants