Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
serac::isotropic_tensor< T, m, m > Struct Template Reference

a rank-2 isotropic tensor is essentially just the Identity matrix, with a constant of proportionality More...

#include <isotropic_tensor.hpp>

Public Member Functions

constexpr SERAC_HOST_DEVICEoperator() (int i, int j) const
 access the (i,j) entry of an isotropic matrix
 

Public Attributes

value
 the value on the diagonal
 

Detailed Description

template<typename T, int m>
struct serac::isotropic_tensor< T, m, m >

a rank-2 isotropic tensor is essentially just the Identity matrix, with a constant of proportionality

Template Parameters
TThe type stored at each index
nThe dimensions of the tensor

Definition at line 49 of file isotropic_tensor.hpp.


The documentation for this struct was generated from the following file: