modflow-usgs / modelviewer-mf6 Goto Github PK
View Code? Open in Web Editor NEWModel Viewer for MODFLOW 6
Home Page: https://modelviewer-mf6.readthedocs.io/
License: Other
Model Viewer for MODFLOW 6
Home Page: https://modelviewer-mf6.readthedocs.io/
License: Other
There is no option to select a pathline file when viewing a model although there are several pathline menu items.
I think the backwards variable should be a reference:
modelviewer-mf6/mv/ModpathReader.cpp
Line 20 in 5cc4c29
Now that the vtk-6.3.0-vs2017-x64 release is available for download, it's a waste of github/action resources to build vtk on forks.
use something like:
if: github.repository == 'MODFLOW-USGS/modelviewer-mf6'
in the .github/workflows/build-vtk.yml file
From review:
I noticed the following issues in the help.
- There are a broken links to "Pathlines", "Particles", and "line drawing overlay" in the topic "Data Visualization".
- There is a broken link to "Exporting the Display as a VRML file in "Exporting and Printing".
- SUTRA is mentioned in the help for "Solid" under "Data Visualization."
See issue-51:
When loading issue-51.mvmf6 with the following layout and contents:
D:.
│ issue-51.mvmf6
└───r1
...
greenport1.bhd
greenport1.cbc
...
greenport1.dis.grb
...
greenport1.oc
...
issue-51.mvmf6:
Application name = Model Viewer
Version = MF6
Title =
Model name = Modflow 6
File code count = 1
File code 1 = .\r1\greenport1.nam
Data type count = 1
...
Yields the following message:
"Error: Unable to open the oc file."
Source/Header files have inconsistent tabs/spaces. Standardize so that changes(diffs) are easier to read
Users can't download artifacts when not logged in to github.
Example
Toolbox->Geometry
and changing the z scale to 20 and pressing the Done button has no effect.
might also need to do similarly when changing tabs
MFC version
Note that if you press the down button of the layer input (Lines tab) while the subgrid is activated it gets in a bad state -> displays -1 and can't be changed.
Qt version
Note that all the activate checkboxes are enabled on the Qt version
Also note that if the down button is pressed on the layer input it asserts (This occurs after the subgrid has been activated/deactivated).
It seems that the Qt dialog needs quite a bit of work for DISV grids
See #66.
from chatGPT:
How do I lock a file so that no other programs can write to it?
There are a few ways to lock a file so that no other programs can write to it.
Using the file's properties: Depending on the operating system, you can use the file's properties to set it as read-only. This will prevent other programs from making changes to the file.
Using a third-party software: There are various third-party software available that allows you to lock files and folders, and set permissions for different users or programs.
Using command line: In windows, you can use the command "icacls" to set specific permissions on a file or folder, and also, "attrib +r" will set the read-only attribute on a file.
In Linux, you can use the command "chmod" to set specific permissions on a file or folder, and also, "chattr +i" will set the immutable attribute on a file.
It's important to note that while these methods can prevent other programs from making changes to the locked file, they will not prevent a user with administrative access from modifying the file.
How do I do it in c++?
In C++, you can use the "chmod" function to set specific permissions on a file. The "chmod" function is part of the "sys/stat.h" header file, which you will need to include in your program.
Here is an example of how you can use the "chmod" function to set the read-only permission on a file:
#include <iostream>
#include <sys/stat.h>
using namespace std;
int main() {
// File path
string filePath = "example.txt";
// Set read-only permission (444)
chmod(filePath.c_str(), S_IRUSR | S_IRGRP | S_IROTH);
cout << "File set to read-only" << endl;
return 0;
}
In this example, the "chmod" function is used to set the read-only permission (444) on a file called "example.txt". The file path is passed to the function as a C-style string using the "filePath.c_str()" method.
It's important to note that the above code will only set the read-only permissions for the current user, for other users or groups, you will need to add the relevant flags.
Also, it's possible that the chmod will not work in certain operating systems, you can use the _wchmod in windows to change the permissions of a file.
Keep in mind that you need administrative access to change the permissions of a file.
wouldn't the other process be able to call chmod and make it writeable?
Yes, that's correct. If another process has administrative access, it can change the permissions on the file and make it writable again.
Locking a file in a way that can't be overridden by another process with administrative access is a difficult task, because it would involve some sort of security feature that could only be implemented at the operating system level.
A common alternative is to use a file-locking mechanism provided by the operating system. For example, in Windows you can use the LockFileEx and UnlockFileEx functions, and in Linux you can use the flock function. These functions provide a way to lock a file for exclusive access by a single process, and can be used to prevent other processes from writing to the file while it is locked.
Another option is to use a third-party library that provide a more robust file-locking system.
Keep in mind that locking a file only ensures that no other process can modify it while it's locked, but it doesn't guarantee data consistency, for example, if a process crash while it's holding the lock, the file might be left in an inconsistent state.
How could it be done on macos?
On macOS, you can use the "chflags" command in the Terminal to set the "uchg" flag on a file, which makes it immutable and prevents any changes from being made to the file. This flag can only be unset by a user with root privileges.
Here's an example of how you can use the "chflags" command to make a file immutable:
chflags uchg /path/to/file
You can check if a file is immutable by running the command ls -lO /path/to/file and looking for "uchg" in the flags.
You can also use the chflags command to remove the immutable flag by calling
chflags nouchg /path/to/file
Keep in mind that like in other operating systems, making a file immutable only ensures that no other process can modify it while it's locked, but it doesn't guarantee data consistency, for example, if a process crash while it's holding the lock, the file might be left in an inconsistent state.
Also, even if the file is immutable, users with root privileges can still modify the file.
Another option is to use a third-party library that provide a more robust file-locking system.
Does macos have the flock functionality?
Yes, macOS does have the flock functionality. The "flock" function is a POSIX-compliant function that is available on macOS, as well as many other Unix-like operating systems.
The flock function can be used to lock a file for exclusive access by a single process, and can be used to prevent other processes from writing to the file while it is locked. Here's an example of how you can use the flock function to lock a file:
#include <sys/file.h>
int fd = open("/path/to/file", O_RDONLY);
int result = flock(fd, LOCK_EX);
if (result == 0) {
// File locked successfully
// Perform operations on the file
// ...
flock(fd, LOCK_UN);
} else {
// Failed to lock the file
// Handle the error
// ...
}
close(fd);
In this example, the "flock" function is used to acquire an exclusive lock on the file, represented by the file descriptor "fd", and LOCK_EX flag. Once the operations on the file are done, the lock is released by calling flock with LOCK_UN flag.
It's important to note that while the flock function provides a way to lock a file for exclusive access by a single process, it doesn't guarantee data consistency, for example, if a process crash while it's holding the lock, the file might be left in an inconsistent state.
Another option is to use a third-party library that provide a more robust file-locking system.
Could this be done using the Qt framework?
Yes, it's possible to lock a file using the Qt framework. One way to accomplish this is by using the QFile class, which provides a way to read and write files, and the QLockFile class, which provides a platform-independent way to lock a file for exclusive access by a single process.
Here's an example of how you can use the QLockFile class to lock a file:
#include <QLockFile>
QLockFile lockFile("/path/to/file");
if (lockFile.tryLock()) {
// File locked successfully
// Perform operations on the file
// ...
lockFile.unlock();
} else {
// Failed to lock the file
// Handle the error
// ...
}
In this example, the QLockFile object is created and passed the path to the file to be locked, then the tryLock method is called to attempt to lock the file. If the lock is acquired, the lock can be released using the unlock() method.
It's important to note that while the QLockFile class provides a way to lock a file for exclusive access by a single process, it doesn't guarantee data consistency, for example, if a process crash while it's holding the lock, the file might be left in an inconsistent state.
Another option is to use a third-party library that provide a more robust file-locking system.
Qt provides a lot of functionality to work with files and their access, you can use the QFile class to read, write and access the file, and the QLockFile class to lock the file, it's a platform-independent way that abstracts the system-specific way of locking files.
Double-clicking on the bin/mvmf6 file yields:
$ file $(which mvmf6)
/home/charlton/.local/bin/mvmf6: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=71091a90f225c1c069b3fd6a936ec7b301e651db, for GNU/Linux 3.2.0, not stripped
$ file ~/Downloads/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/paraview
/home/charlton/Downloads/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/paraview: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b844b2a20d07dffa776c8f572fa823924e196369, not stripped
$ file $(which mvmf6)
/usr/bin/gedit: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=e5c515893d1e8fea8d50218bf7ce0bb3f20ca144, for GNU/Linux 3.2.0, stripped
See 'Problem in viewing Cross Section' email from 2023-03-14
vtkiomovie-6.3.dll -- Trojan:Script/Sabsik.FL.B!ml
see https://www.microsoft.com/en-us/wdsi/submission/be2616a8-aa0c-48ad-bf77-507bdcf516a1
The released version mvmf6-1.0.0.zip comes from github actions build 77
befa2d065aa9b6fb79c9121b64736262888545eb32121391b4e4fd7a8d7d6e2a *mvmf6-1.0.0.zip
f267757b346c808604d2c5c2ab718d3a0440f11aad46aa590174c24807abfb0d *dist.zip
The current windows dist (mvmf6-1.1.0-prerelease.99-win64) includes dbghelp.dll which cannot be redistributed:
see https://learn.microsoft.com/en-us/windows/win32/debug/dbghelp-versions
I don't think is should be required in release builds at all. Currently, the dll/so/dylib that are distributed are determined by using functions from BundleUtilities. Looks like one option is to use the IGNORE_ITEM list added to cmake 3.6. Best option is to get rid of it altogether.
see https://github.com/MODFLOW-USGS/modelviewer-mf6/actions/runs/4079455245/jobs/7030856815#step:13:312
Turns out this file is a 32-bit dll.
Using dumpbin:
charlton@IGSKZWHWWSCHARL ~ Downloads mvmf6-1.1.0-prerelease.99-win64 bin
❯ dumpbin /imports .\mvmf6.exe | Select-String \.dll
mv.dll
vtkGUISupportQt-9.1.dll
vtkFiltersHybrid-9.1.dll
Qt5Widgets.dll
Qt5Gui.dll
Qt5Core.dll
vtkInteractionStyle-9.1.dll
vtkIOImage-9.1.dll
vtkRenderingFreeType-9.1.dll
vtkRenderingOpenGL2-9.1.dll
vtkRenderingUI-9.1.dll
vtkRenderingCore-9.1.dll
vtkCommonColor-9.1.dll
vtkCommonExecutionModel-9.1.dll
vtkCommonCore-9.1.dll
SHLWAPI.dll
USER32.dll
MSVCP140.dll
VCRUNTIME140.dll
VCRUNTIME140_1.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
KERNEL32.dll
SHELL32.dll
charlton@IGSKZWHWWSCHARL ~ Downloads mvmf6-1.1.0-prerelease.99-win64 bin
❯ dumpbin /imports .\mv.dll | Select-String \.dll
Dump of file .\mv.dll
vtkRenderingLOD-9.1.dll
vtkFiltersExtraction-9.1.dll
Qt5Core.dll
vtkFiltersModeling-9.1.dll
vtkRenderingCore-9.1.dll
vtkFiltersGeometry-9.1.dll
vtkFiltersSources-9.1.dll
vtkFiltersGeneral-9.1.dll
vtkFiltersCore-9.1.dll
vtkCommonExecutionModel-9.1.dll
vtkCommonDataModel-9.1.dll
vtkCommonMisc-9.1.dll
vtkCommonTransforms-9.1.dll
vtkCommonCore-9.1.dll
MSVCP140.dll
VCRUNTIME140.dll
VCRUNTIME140_1.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
KERNEL32.dll
Its not directly related to mvmf6.exe or mv.dll
Dependency Walker -- (over 10 mins to load checkout: https://github.com/lucasg/Dependencies)
PSMP_Pathlines.zip
The attached model can not read the model if you select the name file for the flow model. It can be viewed if you select the grid, head, and name file individually. The head file has the extension .bhd.
see
D:\Issues\modflow\model viewer for mf6\gridrot\r1\greenport1.*
From version 0.0.0
Winver: Windows 10 Version 20H2 (OS Build 19042.1415)
Note this also occurs in Model Viewer 1.6
Steps to reproduce:
Workaround:
Click 'Activate subgrid'
up-down controls can't be held down like the lines tab can
from review:
"You may wish to change the credits in the "About" box to say that "Model Viewer for MODFLOW 6 was developed by" instead of "Model Viewer was developed by". In addition, although I worked on the original version of Model Viewer. I didn't work on Model Viewer for MODFLOW 6 so you could remove my name from the credits."
Manual steps for 1.0.0-rc.1 -> 1.0.0-rc.2
Update About dialog
date: $((Get-Date -UFormat '%m/%d/%Y (compiled %b %d %Y %T)')) <- This is done by .\misc\set_versions.ps1 now (set $build to next build#)
version: 1.0.0-rc.1 -> 1.0.0
disclaimer: .\misc\about_disclaimer.ps1
Update CMakeLists.txt <- This is done by .\misc\set_versions.ps1 now (set $build to next build#)
VERSION 1.0.0
Update DISCLAIMER.md
Update README.md
disclaimer: .\misc\about_disclaimer.ps1
Update code.json
"version": "1.0.0",
"status": "Production",
"downloadURL": "https://github.com/MODFLOW-USGS/modelviewer-mf6/releases/tag/1.0.0",
"disclaimerURL": "https://github.com/MODFLOW-USGS/modelviewer-mf6/blob/1.0.0/DISCLAIMER.md",
"metadataLastUpdated": "2022-04-12"
Update About dialog and CMakeLists.txt
.\misc\set_versions.ps1
Set DIST_DIR in build.yml
DIST_DIR: mvmf6-1.0.0 # automate this later
Skip building (gh-actions) when a lightweight tag is created
This isn't completely clear:
https://github.com/orgs/community/discussions/25615
When sync'ing forks (ie scharlton/modelviewer-mf6) skip actions for the main and develop branches
Both of these should apply to the develop and main branches (on the fork):
Settings->Branches-Protect matching branches
[x] Lock branch
[x] Allow fork syncing
Running the Debug version and just exiting yields memory leaks:
Full output:
Output.zip
Abbreviated output:
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\mvmf6.exe'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkInteractionStyle-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\mv.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkRenderingOpenGL-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkRenderingFreeType-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonCore-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkRenderingCore-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkRenderingLOD-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersModeling-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersExtraction-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersGeometry-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersSources-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersCore-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersGeneral-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonExecutionModel-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonTransforms-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonDataModel-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkImagingHybrid-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonMath-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkIOImage-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonSystem-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkfreetype-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkftgl-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtksys-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonColor-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonComputationalGeometry-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkCommonMisc-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkFiltersStatistics-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\mfc140d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkpng-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkmetaio-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtktiff-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkDICOMParser-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkzlib-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkjpeg-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkImagingFourier-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkalglib-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\wsock32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Users\charlton\source\repos\modflow\modelviewer-mf6\_vs2019\ModelViewer\Debug\vtkImagingCore-6.3d.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.1110_none_792d1c772443f647\comctl32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
d:\a01\_work\4\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\docmgr.cpp(96) : AppMsg - Warning: registration database update failed for key 'MvMf6.Document'.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\TextShaping.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\AppXDeploymentClient.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Unloaded 'C:\Windows\System32\AppXDeploymentClient.dll'
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_1c83a5d7cffd7bff\nvoglv64.dll'.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\wtsapi32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\cryptnet.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Symbols loaded.
The thread 0x7b44 has exited with code 0 (0x0).
The thread 0xc548 has exited with code 0 (0x0).
The thread 0xb2d0 has exited with code 0 (0x0).
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\wldp.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\winsta.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Unloaded 'C:\Windows\System32\WinTypes.dll'
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Unloaded 'C:\Windows\System32\WinTypes.dll'
'mvmf6.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\comctl32.dll'. Symbols loaded.
d:\a01\_work\4\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\dlgdata.cpp(517) : AppMsg - Warning: initial dialog data is out of range.
d:\a01\_work\4\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\dlgdata.cpp(517) : AppMsg - Warning: initial dialog data is out of range.
d:\a01\_work\4\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\dlgdata.cpp(299) : AppMsg - Warning: skipping non-radio button in group.
d:\a01\_work\4\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\dlgdata.cpp(299) : AppMsg - Warning: skipping non-radio button in group.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Symbols loaded.
'mvmf6.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Symbols loaded.
The thread 0x3794 has exited with code 0 (0x0).
The thread 0xd85c has exited with code 0 (0x0).
The thread 0xce14 has exited with code 0 (0x0).
The thread 0x8b3c has exited with code 0 (0x0).
The thread 0xbae0 has exited with code 0 (0x0).
The thread 0xc208 has exited with code 0 (0x0).
The thread 0xd6ec has exited with code 0 (0x0).
The thread 0x7abc has exited with code 0 (0x0).
Detected memory leaks!
Dumping objects ->
{105890} normal block at 0x0000024234D1DFD0, 5600 bytes long.
Data: < Open> 00 00 00 00 00 00 00 00 00 00 00 00 4F 70 65 6E
{77937} normal block at 0x000002422EEA1980, 24 bytes long.
Data: < ! ,B > 00 00 00 00 00 00 00 00 00 21 C1 2C 42 02 00 00
{77936} normal block at 0x000002422CC9FD20, 8000 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{77935} normal block at 0x000002422EFAB840, 184 bytes long.
Data: < *k > D0 2A 6B 80 FB 7F 00 00 CD CD CD CD 01 00 00 00
{77934} normal block at 0x000002422CC396C0, 1000 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{77933} normal block at 0x000002422CBF3B80, 168 bytes long.
Data: <x{o > 78 7B 6F 80 FB 7F 00 00 CD CD CD CD 01 00 00 00
{77932} normal block at 0x000002422F04BDC0, 8000 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
{77931} normal block at 0x000002422EFAB340, 184 bytes long.
Data: < *k > D0 2A 6B 80 FB 7F 00 00 CD CD CD CD 01 00 00 00
{77930} normal block at 0x000002422EF1DE00, 72 bytes long.
Data: < < | > 10 3C AE 7C FB 7F 00 00 CD CD CD CD 01 00 00 00
{77929} normal block at 0x000002422EEA1C20, 24 bytes long.
Data: < ` ,B > 00 00 00 00 00 00 00 00 60 1E C1 2C 42 02 00 00
{77928} normal block at 0x000002422EEA0D20, 32 bytes long.
Data: <H_k > 48 5F 6B 80 FB 7F 00 00 CD CD CD CD 01 00 00 00
{77927} normal block at 0x000002422EEA13E0, 24 bytes long.
Data: < ,B > 00 00 00 00 00 00 00 00 10 1D C1 2C 42 02 00 00
{77926} normal block at 0x000002422EEA0CC0, 32 bytes long.
Data: <H_k > 48 5F 6B 80 FB 7F 00 00 CD CD CD CD 01 00 00 00
{77925} normal block at 0x000002422EEA1680, 24 bytes long.
Data: < 0# ,B > 00 00 00 00 00 00 00 00 30 23 C1 2C 42 02 00 00
{77924} normal block at 0x000002422EEA1140, 32 bytes long.
Data: <H_k > 48 5F 6B 80 FB 7F 00 00 CD CD CD CD 01 00 00 00
...
{211} normal block at 0x000002422CBD4960, 32 bytes long.
Data: < 7 ,B @ ,B > 90 37 C1 2C 42 02 00 00 40 BA C2 2C 42 02 00 00
{209} normal block at 0x000002422CC08230, 16 bytes long.
Data: <p= { > 70 3D EE 7B FB 7F 00 00 00 00 00 00 00 00 00 00
{208} normal block at 0x000002422CC12790, 40 bytes long.
Data: < ' ,B ' ,B > 90 27 C1 2C 42 02 00 00 90 27 C1 2C 42 02 00 00
{207} normal block at 0x000002422CC08190, 16 bytes long.
Data: <@H ,B > 40 48 BD 2C 42 02 00 00 00 00 00 00 00 00 00 00
{206} normal block at 0x000002422CC100D0, 112 bytes long.
Data: < ,B ,B > D0 00 C1 2C 42 02 00 00 D0 00 C1 2C 42 02 00 00
{205} normal block at 0x000002422CBD4840, 24 bytes long.
Data: < ,B ,B > 90 81 C0 2C 42 02 00 00 D0 00 C1 2C 42 02 00 00
{204} normal block at 0x000002422CC07EC0, 16 bytes long.
Data: < A ,B > 20 41 BD 2C 42 02 00 00 00 00 00 00 00 00 00 00
{203} normal block at 0x000002422CC10020, 112 bytes long.
Data: < ,B ,B > 20 00 C1 2C 42 02 00 00 20 00 C1 2C 42 02 00 00
{202} normal block at 0x000002422CBD4120, 24 bytes long.
Data: < ~ ,B ,B > C0 7E C0 2C 42 02 00 00 20 00 C1 2C 42 02 00 00
Object dump complete.
The program '[20936] mvmf6.exe' has exited with code 0 (0x0).
When deleting the Overlay file the default origin and angrot (loaded from *.grb file) aren't reset (they're set to zero).
Current: 9.1.0
2022-12-02: 9.2.2
From review:
"The extensions used for the head and flow files are not standardized. I checked several models that had been sent to me by various users and identified the following additional extensions that have been used.
You could consider adding them as supported extensions when the user attempts to specify the head and flow files directly."
The activate check-boxes become randomly disabled and start behaving as radio buttons
I think it's due to a dll conflict of some kind(maybe with the dlls from the MFC version). I think I had the last MFC prerelease running when I started the most recent Qt version.
Restarting the computer fixes the problem (at least temporarily).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.