Musubi
Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
getBaryOfCoord
Function
11 statements
Source File
mus_particle_aux_module.f90
mus_particle_aux_module
getBaryOfCoord
Contents
public pure function getBaryOfCoord(coord, origin, dx) result(bary)
Convenience function to get barycenter of integer coordinate
Arguments
Type
Intent
Optional
Attributes
Name
integer,
intent(in)
::
coord
(3)
real(kind=rk),
intent(in)
::
origin
(3)
real(kind=rk),
intent(in)
::
dx
Return Value
real(kind=rk), (3)