These warp metrics move through the space. For a proper evaluation of the stress-energy tensor in warp factory, a minimum of 5 time steps must be instanced. Comoving metrics in the next section is preferred for most analyses since only 1 time slice is needed.
Alcubierre - Time Dependent
%% AlcubierregridSize = [5202020]; % Note the time size of 5worldCenter = (gridSize+1)./2;velocity = 0.5;R = 5;sigma = 0.5;Metric = metricGet_Alcubierre(gridSize,worldCenter,velocity,R,sigma);% Plottingclffor i = 1:4for j = 1:4 h = nexttile; surfq(Metric.tensor{i,j}(3,:,:,round(worldCenter(4))),'EdgeColor','none') title(num2str(i) +","+ num2str(j))endendsgtitle(Metric.name)MATLAB
Van Den Broeck - Time Dependent
%% Van Den BroeckgridSize = [5202020]; % Note the time size of 5worldCenter = (gridSize+1)./2;velocity = 0.1;R1 = 2;sigma1 = 1;R2 = 5;sigma2 = 1;alpha = 0.5;Metric = metricGet_VanDenBroeck(gridSize,worldCenter,velocity,R1,sigma1,R2,sigma2,alpha);% Plottingclffor i = 1:4for j = 1:4 h = nexttile; surfq(Metric.tensor{i,j}(3,:,:,round(worldCenter(4))),'EdgeColor','none') title(num2str(i) +","+ num2str(j)) view(2)endendsgtitle(Metric.name)
Lentz - Time Dependent
%% LentzgridSize = [530302]; % Note the time size of 5, trailing size must be at least 2worldCenter = (gridSize+1)./2;velocity = 0.1;Metric = metricGet_Lentz(gridSize,worldCenter,velocity);% Plottingclffor i = 1:4for j = 1:4 h = nexttile; surfq(Metric.tensor{i,j}(3,:,:,1),'EdgeColor','none') title(num2str(i) +","+ num2str(j)) view(2)endendsgtitle(Metric.name)
Warp Metrics - Comoving
These warp metrics do not move through the space, hence the name 'comoving'. For a proper evaluation of the stress-energy tensor in warp factory, only 1 time slice is needed since the metric is time-invariant.