OGS
VectorizedTensor.cpp File Reference

Detailed Description

Definition in file VectorizedTensor.cpp.

#include "VectorizedTensor.h"
Include dependency graph for VectorizedTensor.cpp:

Go to the source code of this file.

Namespaces

namespace  MathLib
 
namespace  MathLib::VectorizedTensor
 

Functions

bool MathLib::VectorizedTensor::isTensorConvertibleTo1d (Eigen::Matrix3d const &tensor)
 Only a diagonal tensor can be converted to a 1d vectorized tensor.
 
bool MathLib::VectorizedTensor::isTensorConvertibleTo2d (Eigen::Matrix3d const &tensor)