Node worker for processing fragments assigned by node coordinator Bond connectivity is accessed via ctx%sys_geom%bonds
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | ctx |
module subroutine node_worker(ctx) !! Node worker for processing fragments assigned by node coordinator !! Bond connectivity is accessed via ctx%sys_geom%bonds use mqc_many_body_expansion, only: many_body_expansion_t class(*), intent(in) :: ctx ! Cast to many_body_expansion_t via select type select type (ctx) class is (many_body_expansion_t) call node_worker_impl(ctx) class default call logger%error("node_worker: expected many_body_expansion_t") call abort_comm(comm_world(), 1) end select end subroutine node_worker