Revision 71de76f6c662926f5da5408853e22786055a6194 authored by Thomas Fischer on 09 July 2021, 06:29:00 UTC, committed by Thomas Fischer on 30 August 2021, 05:26:04 UTC
The getContent() method is used only on very few places. Especially, it isn't used in the computation of any THMC processes. So the content doesn't need to be stored which saves memory. Furthermore, the time time for reading / initializing a mesh is reduced. In a hex mesh with 100x100x100 elements this saves 2.6% of storage and circa 25% time.
1 parent deb816d
.cmake-format.yaml
format:
tab_size: 4
max_subgroups_hwrap: 3
dangle_parens: true
command_case: "unchanged"
line_width: 80
lint:
disabled_codes:
- "C0301"
- "C0301" # Line to long.
- "C0113" # Missing COMMAND for optional dependencies.
parse:
vartags:
- !!python/tuple
- set_property
- - cmdline
additional_commands:
ogs_add_library:
pargs:
nargs: 2+
addtest:
pargs:
nargs: "*"
flags:
- DISABLED
spelling: AddTest
kwargs:
EXECUTABLE: 1
PATH: 1
NAME: 1
WRAPPER: 1
TESTER: 1
ABSTOL: 1
RELTOL: 1
RUNTIME: 1
DEPENDS: 1
WORKING_DIRECTORY: 1
EXECUTABLE_ARGS: +
DATA: +
DIFF_DATA:
pargs:
tags:
- cmdline
WRAPPER_ARGS: +
REQUIREMENTS: +
PYTHON_PACKAGES: +
VIS: +
ogstest:
pargs:
nargs: "*"
flags:
- DISABLED
spelling: OgsTest
kwargs:
PROJECTFILE: 1
RUNTIME: 1
WRAPPER: +
meshtest:
pargs:
nargs: "*"
flags:
- NONE
spelling: MeshTest
kwargs:
EXECUTABLE: 1
PATH: 1
NAME: 1
WRAPPER: 1
RUNTIME: 1
WORKING_DIRECTORY: 1
EXECUTABLE_ARGS: +
DATA: +
DIFF_DATA:
pargs:
tags:
- cmdline
WRAPPER_ARGS: +
REQUIREMENTS: +
cpmaddpackage:
pargs:
nargs: "*"
flags: []
spelling: CPMAddPackage
kwargs: &cpmaddpackagekwargs
NAME: 1
FORCE: 1
VERSION: 1
GIT_TAG: 1
DOWNLOAD_ONLY: 1
GITHUB_REPOSITORY: 1
GITLAB_REPOSITORY: 1
GIT_REPOSITORY: 1
SVN_REPOSITORY: 1
SVN_REVISION: 1
SOURCE_DIR: 1
DOWNLOAD_COMMAND: 1
FIND_PACKAGE_ARGUMENTS: 1
NO_CACHE: 1
GIT_SHALLOW: 1
URL: 1
URL_HASH: 1
URL_MD5: 1
DOWNLOAD_NAME: 1
DOWNLOAD_NO_EXTRACT: 1
HTTP_USERNAME: 1
HTTP_PASSWORD: 1
EXCLUDE_FROM_ALL: 1
OPTIONS: +
cpmfindpackage:
pargs:
nargs: "*"
flags: []
spelling: CPMFindPackage
kwargs: *cpmaddpackagekwargs
cpmdeclarepackage:
pargs:
nargs: "*"
flags: []
spelling: CPMDeclarePackage
kwargs: *cpmaddpackagekwargs
packageproject:
pargs:
nargs: "*"
flags: []
spelling: packageProject
kwargs:
NAME: 1
VERSION: 1
INCLUDE_DIR: 1
INCLUDE_DESTINATION: 1
BINARY_DIR: 1
COMPATIBILITY: 1
VERSION_HEADER: 1
DEPENDENCIES: +
cpmusepackagelock:
pargs: 1
spelling: CPMUsePackageLock
cpmregisterpackage:
pargs: 1
spelling: CPMRegisterPackage
cpmgetpackageversion:
pargs: 2
spelling: CPMGetPackageVersion
buildexternalproject:
pargs:
nargs: "*"
spelling: BuildExternalProject
kwargs:
GIT_REPOSITORY: 1
GIT_TAG: 1
CONFIGURE_COMMAND: +
BUILD_COMMAND: +
INSTALL_COMMAND: +
BUILD_IN_SOURCE: 1
LOG_OUTPUT_ON_FAILURE: 1
CMAKE_ARGS: +
Computing file changes ...