Merge remote-tracking branch 'origin/development' into NOSlipFCC
This commit is contained in:
commit
c13b9718f6
|
@ -151,6 +151,13 @@ Spectral_geometryPacking:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
Post_AverageDown:
|
||||||
|
stage: postprocessing
|
||||||
|
script: averageDown/test.py
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
- release
|
||||||
|
|
||||||
Post_General:
|
Post_General:
|
||||||
stage: postprocessing
|
stage: postprocessing
|
||||||
script: PostProcessing/test.py
|
script: PostProcessing/test.py
|
||||||
|
@ -193,6 +200,13 @@ Post_ParaviewRelated:
|
||||||
- master
|
- master
|
||||||
- release
|
- release
|
||||||
|
|
||||||
|
Post_OrientationConversion:
|
||||||
|
stage: postprocessing
|
||||||
|
script: OrientationConversion/test.py
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
Compile_Spectral_Intel:
|
Compile_Spectral_Intel:
|
||||||
stage: compilePETScIntel
|
stage: compilePETScIntel
|
||||||
|
@ -243,6 +257,13 @@ Compile_Intel_Prepare:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
Thermal:
|
||||||
|
stage: spectral
|
||||||
|
script: Thermal/test.py
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
- release
|
||||||
|
|
||||||
Spectral_PackedGeometry:
|
Spectral_PackedGeometry:
|
||||||
stage: spectral
|
stage: spectral
|
||||||
script: Spectral_PackedGeometry/test.py
|
script: Spectral_PackedGeometry/test.py
|
||||||
|
|
|
@ -47,7 +47,7 @@ linker:
|
||||||
|
|
||||||
# CMake will execute each target in the ${petsc_config_makefile}
|
# CMake will execute each target in the ${petsc_config_makefile}
|
||||||
# to acquire corresponding PETSc Variables.
|
# to acquire corresponding PETSc Variables.
|
||||||
find_program (MAKE_EXECUTABLE NAMES make gmake)
|
find_program (MAKE_EXECUTABLE NAMES gmake make)
|
||||||
# Find the PETSc includes directory settings
|
# Find the PETSc includes directory settings
|
||||||
execute_process (COMMAND ${MAKE_EXECUTABLE} --no-print-directory -f ${petsc_config_makefile} "includes"
|
execute_process (COMMAND ${MAKE_EXECUTABLE} --no-print-directory -f ${petsc_config_makefile} "includes"
|
||||||
RESULT_VARIABLE PETSC_INCLUDES_RETURN
|
RESULT_VARIABLE PETSC_INCLUDES_RETURN
|
||||||
|
|
|
@ -127,7 +127,7 @@ options.fraction = np.array(options.fraction)
|
||||||
options.grid = np.array(options.grid)
|
options.grid = np.array(options.grid)
|
||||||
gridSize = options.grid.prod()
|
gridSize = options.grid.prod()
|
||||||
|
|
||||||
if options.randomSeed is None: options.randomSeed = int(os.urandom(4).encode('hex'), 16)
|
if options.randomSeed is None: options.randomSeed = int(os.urandom(4).hex(), 16)
|
||||||
np.random.seed(options.randomSeed) # init random generators
|
np.random.seed(options.randomSeed) # init random generators
|
||||||
random.seed(options.randomSeed)
|
random.seed(options.randomSeed)
|
||||||
|
|
||||||
|
|
|
@ -387,9 +387,8 @@ subroutine material_init()
|
||||||
i, & !< integration point number
|
i, & !< integration point number
|
||||||
e !< element number
|
e !< element number
|
||||||
integer(pInt), dimension(:), allocatable :: &
|
integer(pInt), dimension(:), allocatable :: &
|
||||||
PhaseCounter, &
|
CounterPhase, &
|
||||||
CrystalliteCounter, &
|
CounterHomogenization
|
||||||
HomogenizationCounter
|
|
||||||
|
|
||||||
myDebug = debug_level(debug_material)
|
myDebug = debug_level(debug_material)
|
||||||
|
|
||||||
|
@ -488,20 +487,20 @@ subroutine material_init()
|
||||||
! END DEPRECATED
|
! END DEPRECATED
|
||||||
|
|
||||||
allocate(material_homogenizationAt,source=mesh_homogenizationAt)
|
allocate(material_homogenizationAt,source=mesh_homogenizationAt)
|
||||||
allocate(PhaseCounter (size(config_phase)), source=0_pInt)
|
allocate(CounterPhase (size(config_phase)), source=0_pInt)
|
||||||
allocate(HomogenizationCounter(size(config_homogenization)),source=0_pInt)
|
allocate(CounterHomogenization(size(config_homogenization)),source=0_pInt)
|
||||||
|
|
||||||
! BEGIN DEPRECATED
|
! BEGIN DEPRECATED
|
||||||
do e = 1_pInt,mesh_NcpElems
|
do e = 1_pInt,mesh_NcpElems
|
||||||
myHomog = mesh_homogenizationAt(e)
|
myHomog = mesh_homogenizationAt(e)
|
||||||
do i = 1_pInt, mesh_NipsPerElem
|
do i = 1_pInt, mesh_NipsPerElem
|
||||||
HomogenizationCounter(myHomog) = HomogenizationCounter(myHomog) + 1_pInt
|
CounterHomogenization(myHomog) = CounterHomogenization(myHomog) + 1_pInt
|
||||||
mappingHomogenization(1:2,i,e) = [HomogenizationCounter(myHomog),myHomog]
|
mappingHomogenization(1:2,i,e) = [CounterHomogenization(myHomog),myHomog]
|
||||||
do g = 1_pInt,homogenization_Ngrains(myHomog)
|
do g = 1_pInt,homogenization_Ngrains(myHomog)
|
||||||
myPhase = material_phase(g,i,e)
|
myPhase = material_phase(g,i,e)
|
||||||
PhaseCounter(myPhase) = PhaseCounter(myPhase)+1_pInt ! not distinguishing between instances of same phase
|
CounterPhase(myPhase) = CounterPhase(myPhase)+1_pInt ! not distinguishing between instances of same phase
|
||||||
phaseAt(g,i,e) = myPhase
|
phaseAt(g,i,e) = myPhase
|
||||||
phasememberAt(g,i,e) = PhaseCounter(myPhase)
|
phasememberAt(g,i,e) = CounterPhase(myPhase)
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
|
Loading…
Reference in New Issue