![]() |
waves
Basic FE playground
|
Class which is used to store the list of the weights used for the residual computation. More...
#include <WeightsList.h>
Public Member Functions | |
WeightsList (Problem &pbl, Teuchos::RCP< Map > map, Teuchos::RCP< ElementsList > elementsList) | |
WeightsList constructor. More... | |
local_ordinal_type | getWeightRegionsNumber () |
Return the number of weighted regions. More... | |
local_ordinal_type | getWeightRegionSize (local_ordinal_type i) |
Return the number of nodes for a given weighted region. More... | |
local_ordinal_type | getNode (local_ordinal_type i, local_ordinal_type n1) |
Return the global ID of the node n1 of a given weighted region. More... | |
bool | getWeightDof (local_ordinal_type i, local_ordinal_type j) |
Return whether the DOF j is weighted for a given weighted region. More... | |
scalar | getWeightValue (local_ordinal_type i, local_ordinal_type j) |
Return the value of weight for the DOF for a given weighted region. More... | |
Private Types | |
typedef Map::local_ordinal_type | local_ordinal_type |
typedef Map::global_ordinal_type | global_ordinal_type |
Private Attributes | |
Kokkos::View< int **, Kokkos::LayoutRight > | weights_nodesList |
Kokkos::View< scalar **, Kokkos::LayoutRight > | weights_values_list |
local_ordinal_type | weights_number |
local_ordinal_type | weights_size |
local_ordinal_type | weights_nodes |
local_ordinal_type | weights_dofs |
local_ordinal_type | weights_values |
Class which is used to store the list of the weights used for the residual computation.
|
private |
|
private |
katoptron::WeightsList< scalar >::WeightsList | ( | Problem & | pbl, |
Teuchos::RCP< Map > | map, | ||
Teuchos::RCP< ElementsList > | elementsList | ||
) |
WeightsList constructor.
This constructor allocates 2 Kokkos::View which store all the required information related to each weighted region, including:
Arguments:
|
inline |
Return the global ID of the node n1 of a given weighted region.
Arguments:
|
inline |
Return whether the DOF j is weighted for a given weighted region.
Arguments:
|
inline |
Return the number of nodes for a given weighted region.
Argument:
|
inline |
Return the number of weighted regions.
|
inline |
Return the value of weight for the DOF for a given weighted region.
Arguments:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |