https://mooseframework.inl.gov
KokkosHeatConductionMaterial.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "KokkosMaterial.h"
13 
18  : public Moose::Kokkos::Material<KokkosHeatConductionMaterial>
19 {
20 public:
22 
24 
25  KOKKOS_FUNCTION void computeQpProperties(const unsigned int qp, Datum & datum) const
26  {
28  _thermal_conductivity_dT(datum, qp) = 0;
29  _specific_heat(datum, qp) = _my_specific_heat;
30  _specific_heat_dT(datum, qp) = 0;
31  }
32 
33 private:
34  const bool _has_temp;
36 
39 
42 
45 
47  const Real _min_T;
48 };
Simple material with properties set as constants.
Moose::Kokkos::MaterialProperty< Real > _specific_heat
const Real _min_T
Minimum temperature, below which temperature is "clipped" before evaluating functions.
static InputParameters validParams()
KOKKOS_FUNCTION void computeQpProperties(const unsigned int qp, Datum &datum) const
KokkosHeatConductionMaterial(const InputParameters &parameters)
Moose::Kokkos::MaterialProperty< Real > _thermal_conductivity
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Moose::Kokkos::MaterialProperty< Real > _thermal_conductivity_dT
const Moose::Kokkos::VariableValue _temperature
Moose::Kokkos::MaterialProperty< Real > _specific_heat_dT