# inciter::MultiMatProblemUnderwaterEx class

### Contents

• Reference

MultiMat system of PDEs problem: Underwater explosion problem

## Public static functions

static auto solution(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real, tk::real, int&) -> tk::SolutionFn::result_type
Evaluate analytical solution at (x,y,0) for all components.
static auto src(ncomp_t, tk::real, tk::real, tk::real, tk::real, tk::real& r, tk::real& ru, tk::real& rv, tk::real& rw, tk::real& re) -> tk::MultiMatSrcFn::result_type
Compute and return source term for this problem.
static auto names(ncomp_t) -> std::vector<std::string>
Return names of integral variables to be output to diagnostics file.
static auto type() -> ctr::ProblemType noexcept
Return problem type.

## Function documentation

### static tk::SolutionFn::result_type inciter::MultiMatProblemUnderwaterEx::solution(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real, tk::real, int&)

Evaluate analytical solution at (x,y,0) for all components.

Parameters
system in Equation system index, i.e., which multi-material flow equation system we operate on among the systems of PDEs
ncomp in Number of scalar components in this PDE system
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
Returns Values of all components evaluated at (x)

Evaluate analytical solution at (x,y,z,t) for all components

This function only initializes the underwater explosion problem, but does not actually give the analytical solution at time greater than 0.

### static std::vector<std::string> inciter::MultiMatProblemUnderwaterEx::names(ncomp_t)

Return names of integral variables to be output to diagnostics file.

Returns Vector of strings labelling integral variables output
{"ft_lang_label":"__label__en","ft_lang_prob":0.6182828,"math_prob":0.954253,"size":1574,"snap":"2020-45-2020-50","text_gpt3_token_len":397,"char_repetition_ratio":0.17961784,"word_repetition_ratio":0.17410715,"special_character_ratio":0.24841169,"punctuation_ratio":0.28742516,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9841308,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-27T21:15:55Z\",\"WARC-Record-ID\":\"<urn:uuid:2a004ccc-ec44-43c0-a0b3-d7605d7cd1b3>\",\"Content-Length\":\"17201\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dfe14b20-d9ef-4a01-a567-dab73eb1b804>\",\"WARC-Concurrent-To\":\"<urn:uuid:c1812902-f306-4429-be7f-eeeda9ae2b1e>\",\"WARC-IP-Address\":\"185.199.108.153\",\"WARC-Target-URI\":\"https://quinoacomputing.org/classinciter_1_1_multi_mat_problem_underwater_ex.html\",\"WARC-Payload-Digest\":\"sha1:MQIOH2CIBDZTKGFDENUMLCDPA7IWVSVQ\",\"WARC-Block-Digest\":\"sha1:5JA6VIMXCC27IUBXQCS73SXZ3YMGXSBQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107894759.37_warc_CC-MAIN-20201027195832-20201027225832-00216.warc.gz\"}"}