Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/fortran/active_contraction.F90
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ PROGRAM ActiveContractionExample
!CMISS variables
TYPE(cmfe_BasisType) :: QuadraticBasis, LinearBasis
TYPE(cmfe_BoundaryConditionsType) :: BoundaryConditions
TYPE(cmfe_ComputationEnvironmentType) :: computationEnvironment
TYPE(cmfe_CoordinateSystemType) :: CoordinateSystem, WorldCoordinateSystem
TYPE(cmfe_MeshType) :: Mesh
TYPE(cmfe_DecompositionType) :: Decomposition
Expand Down Expand Up @@ -100,8 +101,9 @@ PROGRAM ActiveContractionExample
!CALL cmfe_DiagnosticsSetOn(CMFE_FROM_DIAG_TYPE,[1,2,3,4,5],"Diagnostics",["PROBLEM_RESIDUAL_EVALUATE"],Err)

!Get the number of computational nodes and this computational node number
CALL cmfe_ComputationalNumberOfNodesGet(NumberOfComputationalNodes,Err)
CALL cmfe_ComputationalNodeNumberGet(ComputationalNodeNumber,Err)
CALL cmfe_ComputationEnvironment_Initialise(computationEnvironment,Err)
CALL cmfe_ComputationEnvironment_NumberOfWorldNodesGet(computationEnvironment,numberOfComputationalNodes,Err)
CALL cmfe_ComputationEnvironment_WorldNodeNumberGet(computationEnvironment,computationalNodeNumber,Err)


num_args = command_argument_count()
Expand Down