![]() |
waves
Basic FE playground
|
Class which is used to store the list of the Dirichlet boundary conditions (BC). More...
#include <DirichletList.h>
Public Member Functions | |
DirichletList (Problem &pbl, Teuchos::RCP< Map > map, Teuchos::RCP< ElementsList > elementsList) | |
DirichletList constructor. More... | |
local_ordinal_type | getDirichletNumber () |
Return the number of Dirichlet BC. More... | |
local_ordinal_type | getDirichletSize (local_ordinal_type i) |
Return the number of nodes for a given Dirichlet BC. More... | |
global_ordinal_type | getDirichletNode (local_ordinal_type i, local_ordinal_type n1) |
Return the global ID of the node n1 of a given BC. More... | |
scalar | getDirichletDof (local_ordinal_type i, local_ordinal_type j) |
Return whether the DOF j is fixed for a given BC. More... | |
scalar | getDirichletValue (local_ordinal_type i, local_ordinal_type j) |
Return the value of the fixed DOF for a given BC. More... | |
Private Types | |
typedef Map::local_ordinal_type | local_ordinal_type |
typedef Map::global_ordinal_type | global_ordinal_type |
Private Attributes | |
Kokkos::View< global_ordinal_type **, Kokkos::LayoutRight > | dirichlet_nodesList |
Kokkos::View< scalar ***, Kokkos::LayoutRight > | dirichlet_values_list |
local_ordinal_type | dirichlet_number |
local_ordinal_type | dirichlet_size |
local_ordinal_type | dirichlet_nodes |
local_ordinal_type | dirichlet_time |
local_ordinal_type | dirichlet_dofs |
local_ordinal_type | dirichlet_values |
Class which is used to store the list of the Dirichlet boundary conditions (BC).
|
private |
|
private |
katoptron::DirichletList< scalar >::DirichletList | ( | Problem & | pbl, |
Teuchos::RCP< Map > | map, | ||
Teuchos::RCP< ElementsList > | elementsList | ||
) |
DirichletList constructor.
This constructor allocates 2 Kokkos::View which store all the required information related to each Dirichlet BC, including:
Arguments:
|
inline |
Return whether the DOF j is fixed for a given BC.
Arguments:
|
inline |
Return the global ID of the node n1 of a given BC.
Arguments:
|
inline |
Return the number of Dirichlet BC.
|
inline |
|
inline |
Return the value of the fixed DOF for a given BC.
Arguments:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |