Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_PointValues2.cpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
11#include "PanzerDiscFE_config.hpp"
14
16#include "Panzer_Traits.hpp"
17
18
19namespace panzer {
20
21// do some explicit instantiation so things build faster.
22
23#define POINT_VALUES_INSTANTIATION(SCALAR) \
24template class PointValues2<SCALAR>;
25
26#define POINT_VALUES_INSTANTIATION2(SCALAR,SCALAR2)\
27template void PointValues2<SCALAR>::copyNodeCoords<PHX::MDField<SCALAR2> >(const PHX::MDField<SCALAR2> & in_node_coords); \
28template void PointValues2<SCALAR>::copyNodeCoords<PHX::MDField<SCALAR2,Cell,NODE,Dim> >(const PHX::MDField<SCALAR2,Cell,NODE,Dim> & in_node_coords); \
29template void PointValues2<SCALAR>::copyNodeCoords<Kokkos::DynRankView<SCALAR2,PHX::Device> >(const Kokkos::DynRankView<SCALAR2,PHX::Device> & in_node_coords); \
30\
31template void PointValues2<SCALAR>::copyPointCoords<PHX::MDField<SCALAR2> >(const PHX::MDField<SCALAR2> & in_node_coords); \
32template void PointValues2<SCALAR>::copyPointCoords<PHX::MDField<SCALAR2,BASIS,Dim> >(const PHX::MDField<SCALAR2,BASIS,Dim> & in_node_coords); \
33template void PointValues2<SCALAR>::copyPointCoords<Kokkos::DynRankView<SCALAR2,PHX::Device> >(const Kokkos::DynRankView<SCALAR2,PHX::Device> & in_node_coords);
34
36// Disabled FAD support due to long build times on cuda (in debug mode
37// it takes multiple hours on some platforms). If we need
38// sensitivities wrt coordinates, we can reenable.
39// POINT_VALUES_INSTANTIATION(panzer::Traits::FadType)
40#ifdef Panzer_BUILD_HESSIAN_SUPPORT
42#endif
43
44// This is very complicated for reasons I don't fully understand...
46// Disabled FAD support due to long build times on cuda (in debug mode
47// it takes multiple hours on some platforms). If we need
48// sensitivities wrt coordinates, we can reenable.
49// POINT_VALUES_INSTANTIATION2(panzer::Traits::FadType,panzer::Traits::RealType)
50// POINT_VALUES_INSTANTIATION2(panzer::Traits::FadType,panzer::Traits::FadType)
51#ifdef Panzer_BUILD_HESSIAN_SUPPORT
53#endif
54
55} // namespace panzer
#define POINT_VALUES_INSTANTIATION(SCALAR)
#define POINT_VALUES_INSTANTIATION2(SCALAR, SCALAR2)
double RealType
Scalar type used for the Residual evaluation type (plain double).
Sacado::Fad::DFad< Sacado::Fad::SFad< RealType, 1 > > HessianType
Nested Sacado AD scalar type (FAD-over-FAD) used for the Hessian evaluation type. Only defined when b...