-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature: Thermal Expansion Coefficient #107
Draft
galjos
wants to merge
24
commits into
dev
Choose a base branch
from
feature/thermal_expansion_coeff
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. finite difference feature is implemented - new input key: temperature_points_key, finite_difference_points_key, std_points_key - new parser _parse_lists - cli and api are implemented 2. thermal expansion coefficient analysis is implemented - BoxFileReader class and Box class are implemented - new input key: box_files_key - cli and api are implemented 3. Debugging and Testing
- This feature can analyse linear and volumetric thermal expansion coefficients. - The feacture can be used either as api or as cli. - As an input temperture_points, box_files and out_file are required. - Log_file is an optional keyword. - Temperture points contain all temperatures on which the corrosponding box files are executed. - For that new keyword are defined in the `pqanalysis_input_file_reader.py`: `box_files_key`, `temperature_points_key`, `unit_key`. - The mixin funciton for box_files is implemented in the `_file_mixin.py`. - The mixin functions for `temperature_points_key` and `unit_key` are implemented in the new mixin class: `_thermal_expansion_mixin.py`. Note: the `unit_key` is not really used for the thermal expansion calculation. It is a keyword for new box class. - Further a new class Box in `box.py`in the physical_data module is introduced to store the box data: a, b, c, alpha, beta, gamma. - To read in a file.box a BoxFileReader class is introduced in `box_file_reader.py` io module. - To pares a list of floats for the tempeature_points in `_parse.py` `_parse_list`is defined. - First test for thermal_expansion module are added. - TODO: More testing, also the new introduced classes `_parse.py`, `box.py`and so on.
All tests are working.
change the box_av to boxes_avg and box_std to boxes_std so it is consistent
I know the work is still in progress. But I have seen one important aspect that should be fixed asap: The formatting differs from the general formatting of the package. This would result in a lot more code to review than necessary: So we should solve this issue within the next days. |
…se/PQAnalysis into feature/thermal_expansion_coeff
PYLINT REPORT Your code has been rated at 9.81/10 (previous run: 9.83/10, -0.03) Full reportRaw metrics
Duplication
Messages by category
% errors / warnings by module
Messages
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.