W1 Warp Shell Comoving
Metric Creation
%%
width = 800;
height = 700;
figSize1 = [150,150,width,height];
figSize2 = [150,150,width,height/2];
figSize6 = [150,150,width,1.7*height];
textSize = 12;
%% Shell Metric
spaceScale = 5;
timeScale = 1;
tryGPU = 1;
centered = 1;
cartoonThickness = 5;
R1 = 10;
Rbuff = 0;
R2 = 20;
if centered == 1
gridSize = ceil([1,2*(R2+10)*spaceScale,2*(R2+10)*spaceScale,cartoonThickness]);
else
gridSize = ceil([1,(R2+10)*spaceScale,(R2+10)*spaceScale,cartoonThickness]);
end
factor = 1/3;
m = R2/(2*G)*c^2*factor;
vWarp = 0.02; % in betas
sigma = 0;
doWarp = 1;
gridScaling = [1/(timeScale*spaceScale*((vWarp)*c+1)),1/spaceScale,1/spaceScale,1/spaceScale];
gridScaling(1) = 1/(1000*c);
if centered == 1
worldCenter = [(cartoonThickness+1)/2,(2*(R2+10)*spaceScale+1)/2,(2*(R2+10)*spaceScale+1)/2,(cartoonThickness+1)/2].*gridScaling;
else
worldCenter = [(cartoonThickness+1)/2,5,5,(cartoonThickness+1)/2].*gridScaling;
end
if centered == 1
x = linspace(0,2*(R2+10),gridSize(2)-4)';
y = linspace(0,2*(R2+10),gridSize(3)-4)';
else
x = linspace(0,(R2+10),gridSize(2)-4)';
y = linspace(0,(R2+10),gridSize(3)-4)';
end
[X,Y] = meshgrid(x,y);
if centered == 1
xlimit = [0 2*(R2+10)];
else
xlimit = [0 (R2+10)];
end
smoothFactor = 4000;
[Metric_ConstantWarp] = metricGet_WarpShellComoving(gridSize,worldCenter,m,R1,R2,Rbuff,sigma,smoothFactor,vWarp,doWarp,gridScaling);Energy Tensor and Energy Condition Evaluation
Plotting
Metric
Energy Tensor
Null Energy Condition
Weak Energy Condition
Strong Energy Condition
Dominant Energy Condition
Last updated