Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1140 commits
Select commit Hold shift + click to select a range
7aa2050
Fxing the name of the isoasymm1d.in
bpatzak Mar 15, 2022
cc4eef3
Fixing matlibmanual
bpatzak Mar 15, 2022
9ed039e
Merge branch 'master' of https://github.com/oofem/oofem
bpatzak Mar 15, 2022
507a06c
Merge pull request #115 from oorbs/master
bpatzak Mar 15, 2022
ef36c55
Isoaxysymm1d: introduced compression& tension failure strains
bpatzak Mar 31, 2022
71c16b0
Merge branch 'master' of https://github.com/oofem/oofem
bpatzak Mar 31, 2022
1b70c94
isoasymm1d: fixing failure detection
bpatzak Apr 1, 2022
3df5320
Merge pull request #6 from oofem/master
oorbs Apr 19, 2022
2985d51
There is a typo in the CMakeLists.txt that prevents compilation with …
mehrpay Apr 20, 2022
7d14803
OneAPI support
mehrpay Apr 21, 2022
7539a82
Merge pull request #117 from oorbs/master
bpatzak Apr 22, 2022
c38995f
Add trilinear diagram to idm1 material model
Apr 28, 2022
960b068
SuperLU_MT interface: fixing error & performance improvement
bpatzak May 6, 2022
23d358c
Fixing restore context capabilities of isotropic damage models
nitramkaroh May 19, 2022
47a07ed
SuperLUSolver:permc_spec user controlled on input
bpatzak May 20, 2022
e13b46a
Merge pull request #121 from nitramkaroh/master
bpatzak May 31, 2022
f4933f4
Fixing bug in StaticStructural (wrong Reaction forces under indirect …
bpatzak Jun 2, 2022
f199315
Added test for StaticStructural reaction evaluation under indirect co…
bpatzak Jun 2, 2022
8263297
Commit for trilinear diagram
Jun 16, 2022
5b93f9d
matlibmanual updated
Jun 16, 2022
a141de7
some comments in idm1.h file restored (some lines had been removed by…
Jun 16, 2022
03e9077
bump pybind to 2.9.1
fponta Jun 24, 2022
9108413
add missing export clauses for windows compatibility
fponta Jun 24, 2022
696208c
workaround for msvc compiler bug
fponta Jun 24, 2022
0b80621
Update matlibmanual.tex
fernandosuarezguerra Jul 20, 2022
fa79f78
Update idm1.C
fernandosuarezguerra Jul 20, 2022
5579d71
LayeredCrossSection support for large strain analysis
nitramkaroh Jul 21, 2022
c78dc19
Adding dead weight load to python bindings, and adding related test
nitramkaroh Jul 22, 2022
ae42fe8
Adding general slave node
nitramkaroh Jul 29, 2022
66a5c5a
Implementation of 1D elements for heat/moisture transport problems.
vit-smilauer Aug 3, 2022
04d4cee
Merge branch 'master' of ssh://github.com/oofem/oofem
vit-smilauer Aug 3, 2022
3a365e1
Fixing index error in MITC4Shell::giveDirectorVectors.
bpatzak Aug 3, 2022
a094479
Fixing narrowing conversion in layered cross-section leading to error…
nitramkaroh Aug 16, 2022
88db949
First prototype of multiphysics module
bpatzak Oct 5, 2022
c8e1e9f
Merge pull request #120 from fernandosuarezguerra/master
bpatzak Oct 5, 2022
f8bc6b2
Merge pull request #122 from fponta/pybind-windows
bpatzak Oct 5, 2022
3e1dd63
Improving the prototype (integration, doc)
bpatzak Oct 6, 2022
4e614e9
Improvments of calms solver, new truss element, and new 1d hyperelast…
nitramkaroh Oct 18, 2022
ec5d1d6
Fixing previous calmls improvements
nitramkaroh Oct 18, 2022
f86bb35
Further improvement of calmls solver
nitramkaroh Oct 18, 2022
d548d48
Added restraint to sets in gpexportmodule.
vit-smilauer Nov 14, 2022
f54c147
Merge branch 'master' of ssh://github.com/oofem/oofem
vit-smilauer Nov 14, 2022
ea31262
Fixing support for element internal dofManagers in Sloan renumbering
bpatzak Nov 18, 2022
b3a96b6
Refactoring mpm module
bpatzak Dec 30, 2022
3ea19aa
Initial version of linear momentum balance term
bpatzak Dec 30, 2022
fd18c91
Adding termlibrary.C into mpm module CMakeLists.txt
bpatzak Dec 30, 2022
a642dd9
Python bindings - added support for some 2D ht elems
stanislavsulc Jan 4, 2023
5a81884
Added giveLoadLevel and giveGlobalDofManager in python bindings
pedroskop Jan 5, 2023
41921e6
Adding init function (python binding) allowing to set some global opt…
bpatzak Jan 5, 2023
4811628
Merge pull request #125 from stanislavsulc/master
bpatzak Jan 5, 2023
9b4713f
Merge pull request #126 from pedroskop/master
bpatzak Jan 5, 2023
07bee4d
Enabling Term-Material link
bpatzak Jan 9, 2023
6d563a4
Adding prototype of missing MPElement::getUnknownVector.
bpatzak Jan 9, 2023
fcb36ef
Added documentation
bpatzak Jan 9, 2023
d2c94e9
Fixing matrix assembly bug (discovered by johnnyontheweb)
bpatzak Feb 1, 2023
1d0b233
Added some terms to mpm module
bpatzak Feb 3, 2023
459a843
Initial version of up element
bpatzak Feb 3, 2023
ec46ce3
Further work on UP
bpatzak Feb 6, 2023
a97a5d8
Fixing UP assembly
bpatzak Feb 7, 2023
e75aa6f
Initial version of mpm solver
bpatzak Feb 15, 2023
2a69fd9
Fixing some initial bugs in mpm (still not working)
bpatzak Feb 15, 2023
eb006cb
mpm: fixing debugging errors 01
bpatzak Feb 16, 2023
08452e0
mpm: fixing debugging errors 02
bpatzak Feb 16, 2023
e5cf573
mpm: Initial concept of scaling LHS terms in matrix assembler (for sy…
bpatzak Feb 17, 2023
a57434f
mpm: Fixing residual assembly
bpatzak Feb 18, 2023
f8dee5e
mpm: fixing answer dimensions in assembler callbacks
bpatzak Feb 18, 2023
5605659
Improved dof output fromatting
bpatzak Feb 18, 2023
498a2e0
Forcing output in mp03.in
bpatzak Feb 18, 2023
9da4053
Fixing some error (still not functional)
bpatzak Feb 23, 2023
7688f07
Fixing errors, finally convergent solution.
bpatzak Feb 24, 2023
9090bee
Making many interpolation methods const
bpatzak Feb 27, 2023
4f3abd1
UP element recasted to base UP element, Added UPTetra21 and UPBrick11…
bpatzak Feb 27, 2023
7538654
Merge pull request #127 from oofem/mpm
bpatzak Feb 27, 2023
c5ba755
Forcing structural material status output to include value sign.
bpatzak Mar 2, 2023
c2d0946
Generalization of UP problem to nonlinear materials.
bpatzak Mar 2, 2023
dee8a7d
Fixing broken layeredcs02 test
bpatzak Mar 2, 2023
b77491e
Updating layeredcs02.in to more complex one.
bpatzak Mar 2, 2023
ae36ea1
Merge pull request #14 from oofem/master
pedroskop Mar 3, 2023
51e364c
Added temperature-dependence of capillary transport in nlisomoisturemat
pedroskop Mar 3, 2023
a9605e2
uncrustifying nlisomoisture.C + .h
pedroskop Mar 3, 2023
8516c06
added vanGenuchten isotherm (type = 7)
pedroskop Mar 3, 2023
05450e7
extended range of admissible isotherm types to 0 ... 7
pedroskop Mar 4, 2023
ff2da0a
Adding DummyCrossSection (effectively forwarding all requests to mate…
bpatzak Mar 5, 2023
01f08d7
Added support for vtk export in up (mpm).
bpatzak Mar 5, 2023
9624074
Adjustable delay of drying creep behind drying shrinkage controlled b…
pedroskop Mar 5, 2023
18aeec3
added test nlisomoisture03 on vanGenuchten sorption isotherm, Kunzel …
pedroskop Mar 5, 2023
a90335c
UPMaterial: user configured properties
bpatzak Mar 7, 2023
491b057
FIxing typo
bpatzak Mar 7, 2023
227c4ba
up: fixing input, added some docs
bpatzak Mar 7, 2023
62640bc
Merge pull request #128 from pedroskop/master
vit-smilauer Mar 9, 2023
524e9c8
Merge branch 'mpm'
bpatzak Mar 10, 2023
3f518f3
Fixed missing contribution from edge load when assigning by sets.
vit-smilauer Mar 11, 2023
296b066
Making StructuralEngngModel::updateInternalState openMP aware (needs …
bpatzak Mar 14, 2023
a197775
Fixed a bug in VTKXMLPeriodicExportModule
adsci Mar 21, 2023
48ff23c
Corrected notation comments in dofiditem.h
adsci Mar 21, 2023
0bb482c
Adding parameter "khc" of the MPS model to treat cyclic humidity
pedroskop Mar 23, 2023
b50a2f3
uncrustifying mps.h & mps.C
pedroskop Mar 23, 2023
83e7d7a
Merge branch 'oofem:master' into master
pedroskop Mar 23, 2023
970cf78
MPS material: fixing input with p_tilde == 1.
pedroskop Mar 24, 2023
b42f659
Making problem input reader to finish to check emodel input record
bpatzak Mar 24, 2023
c0a9e23
Merge pull request #15 from oofem/master
pedroskop Apr 7, 2023
d35371f
Fixing bug in extractor.py to allow exporting positive values from IP…
pedroskop Apr 7, 2023
c7a9997
added SlaveNode keyword to extractor.py
pedroskop Apr 9, 2023
ec87873
Merge pull request #130 from pedroskop/master
bpatzak Apr 11, 2023
5ff243e
Merge pull request #129 from adsci/vtkxmlperiodicfix
bpatzak Apr 11, 2023
4ec77af
Resolving OOFEG compilation issues
bpatzak Apr 20, 2023
c94ebcc
Paralelizing assebly loop over active BC (OpenMP)
bpatzak Apr 20, 2023
eb59db8
Autodetect Windows OS and include needed Intel OneAPI libraries accor…
mehrpay May 22, 2023
ca99aee
Merge pull request #131 from oorbs/_FE_master(oofem)_2023-05-21
bpatzak May 23, 2023
74c37e5
split CMakeLists for sm target
fponta Jun 19, 2023
8e9987b
Added buckling of Euler beam using beams with finite strains and arc-…
vit-smilauer Jun 20, 2023
d5c480c
fix coordinate initialization
fponta Sep 10, 2023
59a822f
fix dofmanager id for 2nd ghost node
fponta Sep 10, 2023
ac6f108
include internal dofs in matrix and vector assembly
fponta Sep 10, 2023
e468705
Added quadAxiSym1ht element to Python bindings. Added test_7 with set…
vit-smilauer Oct 20, 2023
e17abbc
Adding Git Hash info to output headers
bpatzak Oct 26, 2023
20beee5
Fixed added dependency for potentially non-existent target (oofeg)
bpatzak Oct 26, 2023
c636f81
Fixing target dir for configuring oofem_version.h
bpatzak Oct 26, 2023
36eca51
Fixing include directory
bpatzak Oct 26, 2023
1f971f9
An attempt to fix cmake build on GitHub
bpatzak Oct 27, 2023
b92aa61
Adding cmake verbosity level
bpatzak Oct 27, 2023
a262199
Fixing Git Hash generation
bpatzak Oct 27, 2023
9a67abd
Fixing undefined vars
bpatzak Oct 27, 2023
573ca25
Fixing GitHash version logging
bpatzak Oct 27, 2023
85f35d5
Merge pull request #135 from fponta/uninitialized-warning-mitc4
bpatzak Oct 27, 2023
6db1071
Merge pull request #136 from fponta/beam3d-ghost-nodes-fix
bpatzak Oct 27, 2023
11de568
Improving version info (git url, branch and hash added)
bpatzak Nov 5, 2023
ce27091
Improved version info (using git describe)
bpatzak Nov 5, 2023
624cb9e
mitc4: adding support for oofeg
bpatzak Nov 25, 2023
0a2c46a
Introducing ConvergedReason as more descriptive replacement of NM_Sta…
bpatzak Nov 25, 2023
a4ddaf7
Adding SolutionStatusExportModule
bpatzak Nov 25, 2023
d20c073
Improved formatting in SolutionStatusExportModule
bpatzak Nov 25, 2023
8469fcf
Adding nlinearstatic support for solverstatus
bpatzak Dec 8, 2023
f31ec8a
Fixing premature problem input record check
bpatzak Dec 8, 2023
35feab7
Merge pull request #134 from fponta/cmake-split
bpatzak Dec 8, 2023
72310cc
Add Dictionary copy constructor and copy assignment
janvorisek Mar 28, 2024
b6ad5e3
Fix OOFEMTXTInputRecord to allow both char and int in dictionary key
janvorisek Mar 28, 2024
fd847ec
Add initial Additive Manufacturing implementation
janvorisek Mar 28, 2024
fd08128
Add AM module into CMakeLists
janvorisek Mar 28, 2024
447fd5d
Disable AM module by default
janvorisek Mar 28, 2024
3290a4a
Merge pull request #141 from janvorisek/am2
bpatzak Mar 28, 2024
3656b3a
am: adding CSG License
bpatzak Mar 28, 2024
b6aa003
AM: fixing test working directory
bpatzak Mar 28, 2024
75d9500
AM: decreasing number of time steps in test example
bpatzak Mar 28, 2024
26af279
Merge pull request #137 from fponta/assembly-with-internal-dofs
bpatzak Mar 29, 2024
9d71288
Added export of local coordinate system to enable digram plotsof inte…
vit-smilauer Apr 4, 2024
f30d1cb
bump pybind to 2.12
bpatzak Apr 4, 2024
6641e3f
Added export of local coordinate system on elements. Usable for plott…
vit-smilauer Apr 25, 2024
b433a7d
Improved formatting of input exceptions
bpatzak May 11, 2024
6f591dd
Improved and more compact header formatting.
bpatzak May 11, 2024
a384f6e
Fixing NoinLinearDynamic::updateInternalRHS to work during initializa…
bpatzak May 12, 2024
daae31d
Updating docs on input record splitting and include directive
bpatzak May 12, 2024
5bceaf0
Escaping backslash in doc
bpatzak May 12, 2024
f911157
Update README.md
bpatzak May 12, 2024
86e5f6c
Update README.md (fixed link to documentation)
bpatzak May 12, 2024
b1d3df7
Fixing giveIPValue method
bpatzak May 13, 2024
29fbfb1
Fixing initialization of globalNumber attribute in constructor
bpatzak May 13, 2024
1f445bf
Extending error checking export module to export computed values
bpatzak May 13, 2024
f908327
FEInterpolation: extending giveCellDofMans and introducing boundaryEd…
bpatzak May 13, 2024
e2ad6c1
Adding missing feinterpol2d.h from previous commit
bpatzak May 13, 2024
cc41606
Introducing FEI3DHexaConst interpolation
bpatzak May 13, 2024
fe7073a
Initializing currentIterations variable
bpatzak May 13, 2024
5bed57b
Introdicing ExportRegion to generalize VTKPiece
bpatzak May 13, 2024
095927e
VTK: restructuring vtk family of export modules
bpatzak May 13, 2024
e0a6f9b
Introducing vtkhdf5 export module
bpatzak May 13, 2024
dc23cc7
Updating python bindings
bpatzak May 13, 2024
32afd00
Merge pull request #144 from oofem/devel
bpatzak May 13, 2024
deed7c0
Introducing new material modes (up, upv)
bpatzak May 14, 2024
b28b7a7
Introducing VolumeFraction as internal state type
bpatzak May 14, 2024
2232c1e
Introducing VolumeFraction (VF) as DOFIDType
bpatzak May 14, 2024
e5710cf
Introducing additional IDs
bpatzak May 14, 2024
5f23bf7
Set: Adding support for internal element dof managers
bpatzak May 14, 2024
c3cf0f3
Updating mpm module
bpatzak May 14, 2024
a3f82ae
Adding new mpm tests
bpatzak May 14, 2024
9f9eb44
Adding new mpm tests
bpatzak May 14, 2024
0f1a78a
Adding new mpm tests
bpatzak May 14, 2024
1c00a78
Adding mpm tests into tests target
bpatzak May 14, 2024
071ccde
Merge pull request #145 from oofem/mpm2
bpatzak May 14, 2024
34619ed
Merge pull request #146 from oofem/devel
bpatzak May 14, 2024
df9b0cd
Adding integral concept to mpm
bpatzak May 14, 2024
e5abf3c
Initial work on symbolic mpm
bpatzak May 14, 2024
043ca8e
Updating python bindings to support symbolic mpm development
bpatzak May 14, 2024
0576802
Attempt to reduce compilation dependencies
bpatzak May 15, 2024
6957c08
Merge pull request #147 from oofem/devel
bpatzak May 15, 2024
2a3227e
Fixing python bindings
bpatzak May 15, 2024
dcc1a7c
Merge pull request #148 from oofem/devel
bpatzak May 15, 2024
f1d966d
Update to recent pyvista version
bpatzak May 17, 2024
c8591dd
Reintroducing giveCharacteristicMatrix to support mpm development.
bpatzak May 17, 2024
28c4ec9
Making Domain::CreateDofs more generic
bpatzak May 17, 2024
10b2c10
Improving mpm to support frst mpm symbolic demo
bpatzak May 17, 2024
7771dfb
Added hasModule function to allow testing of compiled modules from py…
bpatzak May 17, 2024
47fc337
Merge branch 'devel' into mpm2
bpatzak May 17, 2024
7f2ee0a
Adding test_8.py (mpm symbolic)
bpatzak May 17, 2024
f18b9e9
Added VTKHDF5Reader enabling to read transient external fields genera…
bpatzak May 21, 2024
a957e0b
Introducing ExternalTemperatureFieldLoad able to inject external temp…
bpatzak May 21, 2024
1bc2524
Updating python bindings to support VTKHDF5Reader
bpatzak May 21, 2024
88d2996
Updating _IFT_ExternalTemperatureFieldLoad_Name
bpatzak May 21, 2024
f8024e7
Fixing compilation errors when __HDF_MODULE not defined
bpatzak May 21, 2024
dc810be
Next iteration to reduce compilation dependencies (moving oofemcfg.C …
bpatzak May 21, 2024
222cba5
Fixing BoundingBox::contains, possibly improving OctreeSpatialLocaliz…
bpatzak May 22, 2024
c3bccd7
Merge branch 'devel' into mpm2
bpatzak May 22, 2024
ad411c1
Updating oofemInput manual (vtkhdf5, solutionstatus export modules)
bpatzak May 22, 2024
fc0d532
Updating oofemInnput manual (errorcheck module)
bpatzak May 23, 2024
7cae98d
Updating element manual (layers & 3D solids)
bpatzak May 23, 2024
dbcaee8
Splitting config files into user specific (oofemcfg.h) and OS and ENV…
bpatzak May 23, 2024
4a34bc4
Big update on mpm symbolic, allowing for generic interpolations
bpatzak May 25, 2024
05c6074
Updating example illustrating generic interpolation.
bpatzak May 25, 2024
e454571
Attempt to improve performance of evaluating stress independent part …
bpatzak Jun 7, 2024
1f3b0c1
Converting programmers manual (latex) to sphinx markdown under develo…
bpatzak Jun 8, 2024
b6d6260
Added "y-axis" to beam3d element. Minor fixes in unv2oofem.
vit-smilauer Jun 12, 2024
d873955
Merge branch 'master' of ssh://github.com/oofem/oofem
vit-smilauer Jun 12, 2024
f3aa73c
Added geometric stiffness matrix for Truss3D element. Enabled updated…
vit-smilauer Jun 13, 2024
cececf4
Fully coupled thermo-mechanical problem (mpm)
bpatzak Jun 20, 2024
293a3d5
Fixed missing items from previous commit.
vit-smilauer Jun 21, 2024
38040b2
Fixing many Visual Studio warnings.
bpatzak Jun 22, 2024
d87404a
Merge pull request #149 from oofem/vs
bpatzak Jun 22, 2024
16cee04
Changing oofem array indexing to use std::size_t instaed of int. Fixi…
bpatzak Jun 23, 2024
31be740
Update build.yml
bpatzak Jun 23, 2024
5719cb1
Small improvements in context handling
bpatzak Jun 23, 2024
0ab948b
Fixing bug in DataStream::read(std::string)
bpatzak Jun 23, 2024
55219ac
Removing unreacheable code
bpatzak Jun 23, 2024
71287cd
Propagating DataStream updates to parallel mode, initial suppoprt for…
bpatzak Jun 26, 2024
c82da78
Renaming fuzzy __PARALLEL_MODE directive to more descriptive __MPI_PA…
bpatzak Jun 26, 2024
3f21728
Fixing compilation issues in dream3d_analysis.C
bpatzak Jun 26, 2024
54faa81
configuring some executable targets (benchmarks, hexgrid, dream3d) on…
bpatzak Jun 26, 2024
7dc0220
Adding first tests of mpm/tm formulation
bpatzak Jun 28, 2024
62171c4
Adding Support for mpm/tm boundary surface/edge conditions (including…
bpatzak Jul 2, 2024
6e787f4
Adding/updating mpm/tm tests
bpatzak Jul 2, 2024
9565661
Resolve: cannot pass object of non-trivial type to OOFEM_WARNING
mehrpay Jul 2, 2024
58a79bb
Merge pull request #152 from oorbs/_FE_master(oofem)_2024-07-03
bpatzak Jul 4, 2024
40bc421
Cleaning up many clang warnings
bpatzak Jul 4, 2024
8147559
Merge branch 'master' into devel
bpatzak Jul 4, 2024
b17f7d4
mpm: adding tm tetra11 element, adding sdupport for volumetric flux s…
bpatzak Jul 16, 2024
0d99e3c
mpm: adding new tm tests
bpatzak Jul 16, 2024
eb273a9
Merging mpm2 branch into devel
bpatzak Jul 16, 2024
8ec6bb3
Merge branch 'master' into devel
bpatzak Jul 16, 2024
77b4d09
Fixing VS version header generation
bpatzak Jul 17, 2024
103edf1
Improved version formatting
bpatzak Jul 17, 2024
6a3337b
Fixing python bindings
bpatzak Jul 17, 2024
e56fcf2
Adding support for nonlinear flux source in mpm.tm
bpatzak Jul 31, 2024
3dea998
Merge branch 'mpm2' into devel
bpatzak Jul 31, 2024
b28dc78
Fixing errors from mpm2 merge.
bpatzak Jul 31, 2024
b457710
Merge pull request #150 from oofem/devel
vit-smilauer Sep 2, 2024
3fa41b7
Fix node.js v16 deprecation into build.yml
mosfet80 Sep 13, 2024
a23bc7b
Update build.yml
mosfet80 Sep 13, 2024
f7bd7d4
Merge pull request #155 from mosfet80/patch-1
bpatzak Sep 13, 2024
b1e51fb
Implemented embedded beam with rotational DOFs
christmour Apr 7, 2025
309aba5
Fix: Added <cmath> and updated math function calls with std:: prefixI…
christmour Apr 10, 2025
661ca7e
Fix: Added <cmath> and updated math function calls with std:: prefixI…
christmour Apr 10, 2025
2a0c6c7
Resolved_Conflicts
christmour Apr 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
114 changes: 114 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: All
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: AfterColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 0
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
RawStringFormats:
- Delimiters: [pb]
Language: TextProto
BasedOnStyle: google
ReflowComments: true
SortIncludes: false
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: true
SpacesInSquareBrackets: false
Standard: Cpp03
TabWidth: 8
UseTab: Never
...

46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build

on: [push, pull_request]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
run: cmake -E make_directory ${{github.workspace}}/build

- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE

- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE

- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C $BUILD_TYPE --rerun-failed --output-on-failure
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,21 @@ targets/
release/
debug/

# ignore any files under build directories
build/
_build/

# test results
*.out
*.vtu
*.pvd
*.out.*
*.out-*
t3d.bmf*
perf.data*
*.orig
*.vtk
*_out.*

# documentation aux-files.
*.aux
Expand Down Expand Up @@ -48,3 +55,8 @@ tests/sm/crack0Step0.vtk
tests/sm/crack1Step0.vtk
tests/sm/crack2Step0.vtk
tests/sm/t3d.bmf
/.vs/oofem/v17/Browse.VC.db
*.db-shm
*.db-wal
*.opendb
/.vs/oofem/v17/DocumentLayout.backup.json
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "extern/pybind11"]
path = extern/pybind11
url = https://github.com/pybind/pybind11.git
branch = stable
29 changes: 23 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
language: cpp
os: linux
dist: focal
#sudo: required
before_install:
- PYCMD=$(which python3)
- echo $PYCMD
- sudo -H $PYCMD -m pip install --upgrade pip
#- sudo -H $PYCMD -m pip install --upgrade pytest
- git clone https://github.com/pybind/pybind11.git; cd pybind11; git checkout stable; cd ..
install:
- echo $PYCMD
- cd pybind11; mkdir build; cd build; cmake .. -DPYTHON_EXECUTABLE=$PYCMD; sudo make install; cd ../..
script:
- CXX=g++-4.8 cmake -DUSE_PYTHON_BINDINGS=ON -DENABLE_COVERAGE:BOOL=TRUE .
- make
- echo $PYCMD
- cmake -DPYTHON_EXECUTABLE=$PYCMD -DUSE_PYBIND_BINDINGS=ON -DUSE_PYTHON_EXTENSION=ON -DENABLE_COVERAGE:BOOL=TRUE .
- make -j 2
- make test
- bash <(curl -s https://codecov.io/bash)
#Comment out various unrelated messages
#- bash <(curl -s https://codecov.io/bash)

sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libboost-python-dev
- g++-4.8
#- g++-9
- binutils-gold
- python3
- python3-pip
- python3-dev
- python3-setuptools
- python3-pytest
File renamed without changes.
2 changes: 2 additions & 0 deletions .vs/CMakeWorkspaceSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "x64-Debug"
}
12 changes: 12 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"OutputFoldersPerTargetSystem": {
"Local Machine": [
"..\\oofem_Build2",
"..\\oofem_Build"
]
},
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/cmake.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .vs/oofem/v17/.wsuo
Binary file not shown.
90 changes: 90 additions & 0 deletions .vs/oofem/v17/DocumentLayout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\oofemlib\\hangingnode.C||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\oofemlib\\hangingnode.C||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\main\\main.C||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\main\\main.C||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\CMourlas001\\source\\repos\\oofem\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\oofemlib\\vtkxmlexportmodule.C||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\oofemlib\\vtkxmlexportmodule.C||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 3,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "main.C",
"DocumentMoniker": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\main\\main.C",
"RelativeDocumentMoniker": "src\\main\\main.C",
"ToolTip": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\main\\main.C",
"RelativeToolTip": "src\\main\\main.C",
"ViewState": "AgIAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|",
"WhenOpened": "2025-04-07T12:57:46.717Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "vtkxmlexportmodule.C",
"DocumentMoniker": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\oofemlib\\vtkxmlexportmodule.C",
"RelativeDocumentMoniker": "src\\oofemlib\\vtkxmlexportmodule.C",
"ToolTip": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\oofemlib\\vtkxmlexportmodule.C",
"RelativeToolTip": "src\\oofemlib\\vtkxmlexportmodule.C",
"ViewState": "AgIAAFoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|",
"WhenOpened": "2025-04-07T12:51:33.388Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "hangingnode.C",
"DocumentMoniker": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\oofemlib\\hangingnode.C",
"RelativeDocumentMoniker": "src\\oofemlib\\hangingnode.C",
"ToolTip": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\src\\oofemlib\\hangingnode.C",
"RelativeToolTip": "src\\oofemlib\\hangingnode.C",
"ViewState": "AgIAAB4AAAAAAAAAAAAAAJMAAAAHAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|",
"WhenOpened": "2025-04-07T11:28:23.575Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "CMakeLists.txt",
"DocumentMoniker": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\CMakeLists.txt",
"RelativeDocumentMoniker": "CMakeLists.txt",
"ToolTip": "C:\\Users\\CMourlas001\\source\\repos\\oofem\\CMakeLists.txt",
"RelativeToolTip": "CMakeLists.txt",
"ViewState": "AgIAABUAAAAAAAAAAAAAAH4AAAASAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003109|",
"WhenOpened": "2024-10-09T22:21:10.591Z"
}
]
}
]
}
]
}
Binary file added .vs/oofem/v17/Solution.VC.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .vs/oofem/v17/workspaceFileList.bin
Binary file not shown.
Binary file added .vs/slnx.sqlite
Binary file not shown.
10 changes: 10 additions & 0 deletions .vs/tasks.vs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "0.2.1",
"tasks": [
{
"taskLabel": "task-oofem",
"appliesTo": "/",
"type": "launch"
}
]
}
Loading