ParserView#

#include <ParserView.h>
Brief description

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ParserView <class-parserview>`
[ParserView](#class-parserview)

Detailed description#

Inherits from#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classParserView__inherit__graph.png

List of Public Methods#

List of Private Methods#

Complete Member Function Documentation#

acquire#

Definition
KOKKOS_INLINE_FUNCTION int ParserView::acquire() const
Brief description
Detailed description

Token: get a unic threadId to fill safely les_var_view

Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KOKKOS_INLINE_FUNCTION int ParserView::acquire() const <parserview-public-kokkos-inline-function-int-parserview-acquire-const>`
[KOKKOS_INLINE_FUNCTION int ParserView::acquire() const](#parserview-public-kokkos-inline-function-int-parserview-acquire-const)

eval#

Definition
KOKKOS_INLINE_FUNCTION double ParserView::eval(int threadId) const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KOKKOS_INLINE_FUNCTION double ParserView::eval(int threadId) const <parserview-public-kokkos-inline-function-double-parserview-eval-int-threadid-const>`
[KOKKOS_INLINE_FUNCTION double ParserView::eval(int threadId) const](#parserview-public-kokkos-inline-function-double-parserview-eval-int-threadid-const)

ParserView#

Definition
ParserView::ParserView(Parser_U &p)
Brief description
Detailed description

Constructors (generally by copy of a ParserU) See an example here: Champ_Generique_Transformation::get_champ()

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ParserView::ParserView(Parser_U &p) <parserview-public-parserview-parserview-parser-u-ref-p>`
[ParserView::ParserView(Parser_U &p)](#parserview-public-parserview-parserview-parser-u-ref-p)

ParserView#

Definition
ParserView::ParserView(std::string &expr, int nvar)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ParserView::ParserView(std::string &expr, int nvar) <parserview-public-parserview-parserview-std-string-ref-expr-int-nvar>`
[ParserView::ParserView(std::string &expr, int nvar)](#parserview-public-parserview-parserview-std-string-ref-expr-int-nvar)

parseString#

Definition
void ParserView::parseString() override
Brief description
Detailed description

Parse string

Reimplements:

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ParserView::parseString() override <parserview-public-void-parserview-parsestring-override>`
[void ParserView::parseString() override](#parserview-public-void-parserview-parsestring-override)

release#

Definition
KOKKOS_INLINE_FUNCTION void ParserView::release(int threadId) const
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KOKKOS_INLINE_FUNCTION void ParserView::release(int threadId) const <parserview-public-kokkos-inline-function-void-parserview-release-int-threadid-const>`
[KOKKOS_INLINE_FUNCTION void ParserView::release(int threadId) const](#parserview-public-kokkos-inline-function-void-parserview-release-int-threadid-const)

setVar#

Definition
KOKKOS_INLINE_FUNCTION void ParserView::setVar(int i, double val, int threadId) const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KOKKOS_INLINE_FUNCTION void ParserView::setVar(int i, double val, int threadId) const <parserview-public-kokkos-inline-function-void-parserview-setvar-int-i-double-val-int-threadid-const>`
[KOKKOS_INLINE_FUNCTION void ParserView::setVar(int i, double val, int threadId) const](#parserview-public-kokkos-inline-function-void-parserview-setvar-int-i-double-val-int-threadid-const)

eval#

Definition
KOKKOS_INLINE_FUNCTION double ParserView::eval(const PNodePod &node, int threadId) const
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KOKKOS_INLINE_FUNCTION double ParserView::eval(const PNodePod &node, int threadId) const <parserview-private-kokkos-inline-function-double-parserview-eval-const-pnodepod-ref-node-int-threadid-const>`
[KOKKOS_INLINE_FUNCTION double ParserView::eval(const PNodePod &node, int threadId) const](#parserview-private-kokkos-inline-function-double-parserview-eval-const-pnodepod-ref-node-int-threadid-const)

Attributes Documentation#

les_var_view (private)
Kokkos::View<double**> ParserView::les_var_view
PNodes_view (private)
Kokkos::View<PNodePod*> ParserView::PNodes_view
token (private)
Kokkos::Experimental::UniqueToken<Kokkos::DefaultExecutionSpace> ParserView::token