%EVALEXPRP Evaluates an expression in the grid points.
%
%   [ VEVAL ] = EVALEXPRP( S_EXPR, PROB, SOLNUM, IND ) Evaluates the
%   expression S_EXPR in the points specified in PROB.GRID.P (in
%   global x/y/z-coordinates). PROB is a valid finite element problem
%   struct. Optional parameters are SOLNUM which indicates the chosen
%   solution, and IND for indexing which grid points are to be
%   evaluated for.
%
%       Input       Value/[Size]           Description
%       -----------------------------------------------------------------------------------
%       s_expr      string                 String expression to evaluate
%       prob        struct                 Problem definition struct
%       solnum      scalar {n_sols}        Solution number/time to evaluate
%       ind         vector {1:n_p}         Index to grid points for which to evaluate
%                                                                                         .
%       Output      Value/(Size)           Description
%       -----------------------------------------------------------------------------------
%       vEval       [n_ind,1]              Output vector of evaluated values

% Copyright 2013-2022 Precise Simulation, Ltd.

precise-simulation
github-repos/MATLAB/precise-simulation-featool-multiphysics/featool-multiphysics-861c771adda317a9f091263d16dca060116bd516/core/evalexprp.m
featool-multiphysics
github-repos/MATLAB/precise-simulation-featool-multiphysics
861c771adda317a9f091263d16dca060116bd516