A1 - Energy Conditions
Computing Energy Conditions
Get Metric and Energy Tensor
%% Alcubierre
gridSize = [1 20 20 20];
worldCenter = (gridSize+1)./2;
velocity = 0.5;
R = 5;
sigma = 0.5;
Metric = metricGet_AlcubierreComoving(gridSize,worldCenter,velocity,R,sigma);
% Compute energy tensor
EnergyTensor = getEnergyTensor(Metric);Get Energy Conditions Map
[nullEnergyCondition] = getEnergyConditions(EnergyTensor,Metric,"Null");
[weakEnergyCondition] = getEnergyConditions(EnergyTensor,Metric,"Weak");
[strongEnergyCondition] = getEnergyConditions(EnergyTensor,Metric,"Strong");
[dominantEnergyCondition] = getEnergyConditions(EnergyTensor,Metric,"Dominant");Plot Energy Conditions
Returning Vectors
You can also return the energy conditions per vector sampled at each point in the spacetime by specifying the return vector option to true.
We can now plot the violation amount scaled to a quiver plot along each of the sampled directions.
Last updated