68 const ArrayScalar & inputPoints,
69 const EOperator operatorType)
const {
72#ifdef HAVE_INTREPID_DEBUG
73 Intrepid::getValues_HGRAD_Args<Scalar, ArrayScalar>(outputValues,
76 this -> getBaseCellTopology(),
77 this -> getCardinality() );
80 int dim0 = inputPoints.dimension(0);
85 switch (operatorType) {
88 for (
int i0 = 0; i0 < dim0; i0++) {
89 x = inputPoints(i0, 0);
92 outputValues(0, i0) = (1.0 - x)/2.0;
93 outputValues(1, i0) = (1.0 + x)/2.0;
101 for (
int i0 = 0; i0 < dim0; i0++) {
102 x = inputPoints(i0,0);
105 outputValues(0, i0, 0) = -0.5;
106 outputValues(1, i0, 0) = 0.5;
111 for (
int i0 = 0; i0 < dim0; i0++) {
114 outputValues(0, i0, 0) = 0.0;
115 outputValues(1, i0, 0) = 0.0;
130 this -> basisCellTopology_.getDimension() );
131 for(
int dofOrd = 0; dofOrd <
this -> basisCardinality_; dofOrd++) {
132 for (
int i0 = 0; i0 < dim0; i0++) {
133 for(
int dkOrd = 0; dkOrd < DkCardinality; dkOrd++){
134 outputValues(dofOrd, i0, dkOrd) = 0.0;
143 ">>> ERROR (Basis_HGRAD_LINE_C1_FEM): Invalid operator type");
void setOrdinalTagData(std::vector< std::vector< std::vector< int > > > &tagToOrdinal, std::vector< std::vector< int > > &ordinalToTag, const int *tags, const int basisCard, const int tagSize, const int posScDim, const int posScOrd, const int posDfOrd)
Fills ordinalToTag_ and tagToOrdinal_ by basis-specific tag data.
int getDkCardinality(const EOperator operatorType, const int spaceDim)
Returns cardinality of Dk, i.e., the number of all derivatives of order k.