Octopus
parser_oct_m::oct_parse_expression Interface Reference

The public subroutine parse_expression accepts two possible interfaces, one which assumes that the variables in the expression are "x(:)", "r" and "t", and another one which permits to set one variable to whichever string. Examples of usage: More...

Detailed Description

The public subroutine parse_expression accepts two possible interfaces, one which assumes that the variables in the expression are "x(:)", "r" and "t", and another one which permits to set one variable to whichever string. Examples of usage:

call parse_expression(f_re, f_im, ndim, x(:), r, t, & "0.5*0.01*r^2")

call parse_expression(f_re, f_im, "t", t, "cos(0.01*t)")

Definition at line 365 of file parser.F90.

Private Member Functions

subroutine oct_parse_expression (re, im, ndim, x, r, t, pot)
 

Constructor & Destructor Documentation

◆ oct_parse_expression()

subroutine parser_oct_m::oct_parse_expression::oct_parse_expression ( real(real64), intent(out)  re,
real(real64), intent(out)  im,
integer, intent(in)  ndim,
real(real64), intent(in)  x,
real(real64), intent(in)  r,
real(real64), intent(in)  t,
character(len=*), intent(in)  pot 
)
private

Definition at line 365 of file parser.F90.


The documentation for this interface was generated from the following file: